lastScrollY=0;function heartBeat(){var diffY;if(document.documentElement&&document.documentElement.scrollTop)
diffY=document.documentElement.scrollTop;else if(document.body)
diffY=document.body.scrollTop
else
{}
percent=.1*(diffY-lastScrollY);if(percent>0)percent=Math.ceil(percent);else percent=Math.floor(percent);document.getElementById("lovexin12").style.top=parseInt(document.getElementById("lovexin12").style.top)+percent+"px";document.getElementById("float_div").style.top=parseInt(document.getElementById("float_div").style.top)+percent+"px";lastScrollY=lastScrollY+percent;}
suspendcode12="<div id=\"lovexin12\" style='z-index:99;left:0px;POSITION:absolute;TOP:430px;'></a></div>"
suspendcode14="<div id=\"float_div\" style='z-index:99; right:15px;POSITION:absolute;top:390px;border-style:solid;border-width:1px 1px 1px 1px;border-color: #53a1eb;COLOR: #717375;BACKGROUND-COLOR: #cfe3ee;border-radius: 5px;'><img src='/images/weixin1.jpg'><br/>微信扫描二维码<br/>关注百度贴吧</a></div>"
document.write(suspendcode12);document.write(suspendcode14);window.setInterval("heartBeat()",1);
元芳怎么了
森林海
DIEA
相关分类