侧边滚动广告栏


<div id="pop" style="RIGHT: 30px; LEFT: 805px; WIDTH: 199px; POSITION: absolute; TOP: 302; HEIGHT: 144px"><a href=#none onclick="window.open('celebration.htm','','width=560,height=592')"><img src="03.jpg" width="198" height="144" border="0"></a></div>


<SCRIPT language=JavaScript>
<!--
        var lastScrollY = 0;
        function floatRefresh() {
                diffY = document.body.scrollTop;
                percent =.1*(diffY-lastScrollY);
                if(percent>0){
                        percent = Math.ceil(percent);
                }else{
                        percent = Math.floor(percent);
                }
                document.all.pop.style.pixelTop += percent;
                lastScrollY = lastScrollY + percent;
        }
        window.setInterval("floatRefresh()",1);
//-->
  </SCRIPT>

[本日志由 cmscn 于 2007-08-26 10:57 AM 编辑]
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags:
相关日志:
评论: 8 | 引用: 0 | 查看次数: 1077
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 20 字 | UBB代码 关闭 | [img]标签 关闭