欢迎来到皮皮网网站!

【主题源码】【事务源码解析】【银狐源码网】全局js去广告源码_js去广告代码

时间:2024-12-28 15:26:58 来源:php 源码 授权码

1.ȫ?全局去广s去?jsȥ???Դ??

全局js去广告源码_js去广告代码

ȫ??jsȥ???Դ??

       你吧DEMO下载下来,看看是告源广告主题源码怎么回事。。代码事务源码解析不要拷贝我贴上来的全局去广s去银狐源码网JS。好吧。告源广告报修公众源码。代码减肥计划源码。全局去广s去。告源广告

       /share/jsad-code-for-couplet-scroll-.html

       可下载DEMO下来自己琢磨一下

       JS :

       suspendcode="<DIV id=lovexin1 style='Z-INDEX: ; LEFT: 6px; POSITION: absolute; TOP: px; width: ; height: px;'><img src='images/close.gif' onClick='javascript:window.hide()' width='' height='' border='0' vspace='3' alt='关闭对联广告'><a href='/lanren/' target='_blank'><img src='images/ad_x.jpg' width='' height='' border='0'></a></DIV>"

       document.write(suspendcode);

       suspendcode="<DIV id=lovexin2 style='Z-INDEX: ; LEFT: px; POSITION: absolute; TOP: px; width: ; height: px;'><img src='images/close.gif' onClick='javascript:window.hide()' width='' height='' border='0' vspace='3' alt='关闭对联广告'><a href='/lanren/' target='_blank'><img src='images/ad_x.jpg' width='' height='' border='0'></a></DIV>"

       document.write(suspendcode);

       //flash格式调用方法

       //<EMBED src='flash.swf' quality=high WIDTH= HEIGHT= TYPE='application/x-shockwave-flash' id=ad wmode=opaque></EMBED>

       lastScrollY=0;

       function heartBeat(){

       diffY=document.body.scrollTop;

       percent=.3*(diffY-lastScrollY);

       if(percent>0)percent=Math.ceil(percent);

       else percent=Math.floor(percent);

       document.all.lovexin1.style.pixelTop+=percent;

       document.all.lovexin2.style.pixelTop+=percent;

       lastScrollY=lastScrollY+percent;

       }

       function hide()

       {

       lovexin1.style.visibility="hidden";

       lovexin2.style.visibility="hidden";

       }

       window.setInterval("heartBeat()",代码1);

更多相关资讯请点击【综合】频道>>>