随屏幕滚动的对联广告
来源:互联网 发布:路由器黑客软件mac 编辑:程序博客网 时间:2024/05/01 02:25
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0025)http://ad.jz123.cn/ad/33/ -->
<HTML
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>div+css实现的两侧浮动广告JS代码-CSS在线</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P></P>
<script language="javascript">
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
{/*Netscape stuff*/}
//alert(diffY);
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("lovexin14").style.top=parseInt(document.getElementById("lovexin12").style.top)+percent+"px";
lastScrollY=lastScrollY+percent;
//alert(lastScrollY);
}
suspendcode12="<DIV id=/"lovexin12/" style='left:22px;POSITION:absolute;TOP:69px;'><a href='http://www.csscss.org' target='_blank'><img border=0 src=/UploadFile/ad_1.gif><br><a href=JavaScript:; onclick=/"lovexin12.style.visibility='hidden'/"><img border=0 src=/UploadFile/close.gif></a></div>"
suspendcode14="<DIV id=/"lovexin14/" style='right:22px;POSITION:absolute;TOP:69px;'><a href='www.csscss.org' target='_blank'><img border=0 src=/UploadFile/ad_1.gif><br><a href=JavaScript:; onclick=/"lovexin14.style.display = 'none'/"><img border=0 src=/UploadFile/close.gif></div>"
document.write(suspendcode12);
document.write(suspendcode14);
window.setInterval("heartBeat()",1);
</script>
<DIV style="DISPLAY: none">
</DIV></BODY></HTML>
- 随屏幕滚动的对联广告
- 滚动的对联广告
- 滚动的对联广告
- ASPCMS对联广告不能随屏滚动的解决方法
- 关于对联广告不滚动的解决方法
- 对联不滚动广告
- 对联滚动广告
- 对联广告不滚动
- 对联浮动广告代码不滚动的解决方法
- asp.net页面下,对联广告不滚动的问题
- 对联广告不滚动的问题 asp.net 页面
- js 实现页面两边广告, 可关闭对联广告 随滚动条滚动 符合w3c标准
- js 实现页面两边广告, 可关闭对联广告 随滚动条滚动 符合w3c标准
- 对联效果的广告
- 对联广告 的css
- js左右弹性滚动对联广告代码
- jquery自由定位层,随滚动条滚动层插件,对联插件,广告插件
- 对联广告(带关闭的)
- linux的sysfs与驱动模型体会1
- Print 数据正确,而debug 时窗口显示错误 原因之一: 预编译宏定义 在不同的project 下(属同一solution)定义不一致
- Linux 文件系统剖析
- Sodaville平台移植QT4.7.2要点
- 常用的VIM命令列表
- 随屏幕滚动的对联广告
- linux shell的特殊符号和控制字符
- Android Dialog( 自定义对话框)
- APK权限大全 - Android必懂知识
- win7下的查看端口占用
- 优秀的Java程序员必须了解GC的工作原理
- 使用SQLMonitor监视访问ORACLE的“服务”
- LINUX/MIPS内核移植
- mysql权限管理