首页 > 知识百科正文

简单实用的js对联广告代码

 2024-01-16  阅读 0

&<script language="javascript"&>
lastScrollY=0;
function heartBeat(){
diffY=document.body.scrollTop;
percent=.1*(diffY-lastScrollY);
if(percent&>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.lovexin12.style.pixelTop+=percent;
document.all.lovexin14.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
suspendcode12="&<p id=lovexin12 style='right:2px;POSITION:absolute;TOP:406px;'&>&<iframe width=110 height=163 frameborder=0 scrolling=no src='qq.html'&>&</iframe&>&</p&>"
document.write(suspendcode12);
suspendcode14="&<p id=lovexin14 style='left:2px;POSITION:absolute;TOP:96px;'&>&<iframe width=110 height=163 frameborder=0 scrolling=no src='qq.html'&>&</iframe&>&</p&>"
document.write(suspendcode14);
window.setInterval("heartBeat()",1);
&</script&>

本文链接:http://www.51sang.com/duilian/25928.html

版权声明:本文为 “对联网” 原创文章,转载请附上原文出处链接及本声明!

标签:
对联网
对联大全网专门分享经典对联知识,内容包括春联、对对联、春节对联、节日对联、 结婚对联、乔迁对联、挽联、行业对联、名胜古迹对联、对联横批等对联知识,为大家提供在线学习交流平台。
对联资讯
对联大全
对联知识
对联故事
谐趣对联
对联故事
copyright © 2023 对联大全 网站地图
京ICP备13028492号