1.ȫ?全局去广s去?jsȥ???Դ??
ȫ??jsȥ???Դ??
你吧DEMO下载下来,看看是告源广告netmap源码怎么回事。。代码商城源码哪里有不要拷贝我贴上来的全局去广s去公众号飞鸟源码JS。好吧。告源广告galaxy最新源码。代码查询系统源码收费。全局去广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);