网站效果源码:悬浮二维码源码(兼容所有浏览器)

王朝学院·作者佚名  2016-08-23
窄屏简体版  字體: 小  |  中  |  大  |  超大  

网站效果源码:悬浮二维码源码(兼容所有浏览器)

<script>

//悬浮代码如下:

new function(w,b,c,d,o){

d=document;b=d.body;o=b.childNodes;c="className";

b.appendChild(w=d.createElement("div"))[c]= "b";

for(var i=0; i<o.length-1; i++)if(o[i][c]!="w")w.appendChild(o[i]),i--;

(window.onresize = function(){

w.style.width = d.documentElement.clientWidth + "px";

w.style.height = d.documentElement.clientHeight + "px";

})();

}

</script>

<style>

.b { margin:0px; padding:0px; overflow:auto; }

.w { position:absolute; right:1px; bottom:1px; width:100px; height:100px; overflow:hidden; border:1px groove #281; cursor:default; -moz-user-select:none; }

</style>

<div class="w">

<img src="/erweima.png" height="100px" width="100px"/>

</div>

(转载请注明转自:http://www.xiqian8.com/,谢谢!珍惜别人的劳动成果,就是在尊重自己!)

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝網路 版權所有 導航