- 最后登录
- 2025-4-30
- 注册时间
- 2011-9-6
- 阅读权限
- 200
- 积分
- 16007
- 真实姓名
- 二亩地
|
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="content-type" content="text/html;charset=gb2312">
- <meta name="keywords" content="站长,网页特效,网页特效代码,js特效,js脚本,脚本,广告代码,zzjs,zzjs.net,www.zzjs.net,站长特效 网" />
- <meta name="description" content="www.zzjs.net,站长特效网,站长必备js特效及广告代码。大量高质量js特效,提供高质量广告代码下载,尽在站长特效网" />
- <title>网页特效 符合web标准的网页两侧对联广告 站长特效网</title>
- <style type="text/css">
- html,body{
- height:1000px;
- }
- #zzjs_net_1,#zzjs_net_2{
- width:120px;
- height:300px;
- background-color:#eee;
- border:1px solid #ddd;
- }
- #www_zzjs_net{
- height:1000px;
- }
- </style>
- <script language="javascript" type="text/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("zzjs_net_1").style.top=parseInt(document.getElementById
- ("zzjs_net_1").style.top)+percent+"px";
- document.getElementById("zzjs_net_2").style.top=parseInt(document.getElementById
- ("zzjs_net_1").style.top)+percent+"px";
- lastScrollY=lastScrollY+percent;
- //alert(lastScrollY);
- }
- j1="<div id=\"zzjs_net_1\" style='left:2px;position:absolute;top:120px;'><span style='display:inline-block;float:right;cursor:pointer' onclick='this.parentNode.style.display=\"none\"'>关闭</span>站长特效一号广告</div>"
- j2="<div id=\"zzjs_net_2\" style='right:2px;position:absolute;top:120px;'><span style='display:inline-block;float:right;cursor:pointer' onclick='this.parentNode.style.display=\"none\"'>关闭</span>站长特效二号广告</div>"
- document.write(j1);
- document.write(j2);
- window.setInterval("heartBeat()",1);
- </script>
- </head>
- <body>
- <a href="http://www.ermudi.cn/">二亩地建站</a>,站长必备的高质量网页特效和广告代码。zzjs.net,站长js特效。<hr>
- <!--欢迎来到站长特效网,我们网站收集大量高质量js特效,提供许多广告代码下载,网址:www.zzjs.net,zzjs@msn.com,用.net打造靓站-->
- <div id="www_zzjs_net"></div>
- </body>
- </html>
复制代码
|
|