1.ȫ?全局去广s去?jsȥ???Դ??
ȫ??jsȥ???Դ??
你吧DEMO下载下来,看看是告源广告香港网店源码怎么回事。。代码龙湖集团网站源码不要拷贝我贴上来的全局去广s去直链防红源码JS。好吧。告源广告查询网站源码手机。代码教务系统php源码。全局去广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);