网站地图    收藏   

主页 > 后端 > PHP语言 >

页面浮动广告代码

来源:未知    时间:2014-11-06 15:34 作者:xxadmin 阅读:

[导读] script language=javascriptvar specialcode=DIV id=searchspe style=Z-INDEX: 100; left: 1px; POSITION: absolute; TOP: 50px;table border=1 width=150 id=table1 bordercolor=#2E6287 height=153trtd style=position: relativediv id=Layer1 style=positio...

<script language=javascript>var specialcode="<DIV id=searchspe style='Z-INDEX: 100; left: 1px; POSITION: absolute; TOP: 50px;'><table border='1' width='150' id='table1' bordercolor='#2E6287' height='153'><tr><td style='position: relative'><div id='Layer1' style='position:relative;width:15px; border:solid 1px red; height:16px; z-index:1; left: 133px; top: 0;' onclick=searchspe.style.visibility='hidden'><img src='./close.gif' title='关闭'></div><a href='http://hub.aunew.com/pro.asp?act=wcptj'><img src='http://hub.aunew.com/propages/img/wcptj_fd.gif' border='0'></a></td></tr></table></DIV>";document.write(specialcode);lastScrollY=0;function heartBeat0(){diffY=document.body.scrollTop;percent=.1*(diffY-lastScrollY);if(percent>0)percent=Math.ceil(percent);else percent=Math.floor(percent);document.all.searchspe.style.pixelTop+=percent;lastScrollY=lastScrollY+percent;}window.setInterval("heartBeat0()",1);</script>

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论