浮动广告对联代码
来源:互联网 发布:linux创建软连接 编辑:程序博客网 时间:2024/04/28 23:54
<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="<DIV id=lovexin12 style='left:10px;POSITION:absolute;TOP:220px;'><A HREF='http://wwwqq.phphome.cn/' target=_blank Title='图片文字'><img src='图片地址' border=0 width='100' height='261'></A></div>"
document.write(suspendcode12);
suspendcode14="<DIV id=lovexin14 style='right:10px;POSITION:absolute;TOP:220px;'><A HREF='http://wwwqq.phphome.cn/' target=_blank Title='图片文字'><img src='图片地址' border=0 width='100' height='261'></A></div>"
document.write(suspendcode14);
window.setInterval("heartBeat()",1);
</SCRIPT>
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="<DIV id=lovexin12 style='left:10px;POSITION:absolute;TOP:220px;'><A HREF='http://wwwqq.phphome.cn/' target=_blank Title='图片文字'><img src='图片地址' border=0 width='100' height='261'></A></div>"
document.write(suspendcode12);
suspendcode14="<DIV id=lovexin14 style='right:10px;POSITION:absolute;TOP:220px;'><A HREF='http://wwwqq.phphome.cn/' target=_blank Title='图片文字'><img src='图片地址' border=0 width='100' height='261'></A></div>"
document.write(suspendcode14);
window.setInterval("heartBeat()",1);
</SCRIPT>
- 浮动广告对联代码
- 浮动对联广告---之左侧代码
- 浮动对联广告代码 支持声明的漂浮代码
- 对联浮动广告代码不滚动的解决方法
- 浮动对联广告 上下及水平窗口自适应浮动广告代码 兼容if,firefox
- js 浮动div广告(对联广告)
- 对联广告代码
- 对联广告代码
- 漂浮对联广告代码
- 对联广告代码
- 对联广告代码
- Js对联广告代码
- 对联广告代码
- 对联广告jquery代码
- 对联浮动广告JS代码不滚动不浮动的解决方法
- 对联浮动广告JS代码不滚动不浮动的解决方法
- 浮动对联广告js,支持xhtml
- JavaScript 网页两侧对联浮动广告
- 用asp实现access数据库显示的分页功能
- 关于代码生成工具
- void OSStart (void)
- Google Reader
- linux内核编译详解
- 浮动广告对联代码
- ROR资源列表
- SAP学习手册
- Windows Programming系列 线程的堆栈
- Bluetooth For .NET
- 蓝牙(BlueTooth)技术标准
- 十个必备的.NET开发小工具
- GPS DIY
- 算术题的经典