网站左侧浮动广告代码如下:
<script language=javascript>var specialcode=<DIV id=searchspe style=Z-INDEX: 100; left: 8px; POSITION: absolute; TOP: 50px;><TABLE cellSpacing=0 cellPadding=0 width=100 style=border-left:1px solid #333333;border-top:1px solid #333333;border-right:1px solid #333333;font-size:12px;color:#ffffff><TR bgcolor=#2E6287><TD height=20> 推荐↓</TD><TD style=CURSOR: hand onclick=searchspe.style.visibility=hidden width=30>关 闭</TD></TR></TABLE><table border=1 width=100 id=table1 bordercolor=#2E6287 height=360><tr><td>08nian.cn</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>
|
上一篇:网站对联式浮动广告代码
下一篇:右下角浮动广告代码JS文件