载入数据...
 
┋公 告 栏┋
载入数据...
┋最新文章┋
载入数据...
┋最新评论┋
载入数据...
┋最新留言┋
载入数据...
┋友情链接┋
┋博客登陆┋
┋博客信息┋
载入数据...

 
  博客中实现双击自动滚屏

·博客指南 发表于 2006-6-23 10:50:00

在源码中加入下面的代码:

                                                                                              

<script language="JavaScript">
var currentpos,timer;
function initialize()
{
timer=setInterval("scrollwindow()",100);
}
function sc(){
clearInterval(timer); 
}
function scrollwindow()
{
currentpos=document.body.scrollTop;
window.scroll(0,++currentpos);
if (currentpos != document.body.scrollTop)
sc();
}
document.onmousedown=sc
document.ondblclick=initialize
</script>

·阅读全文 | 回复(138) | 引用通告 | 编辑

  ding
  thanks
  thanks
  thanks
  thanks
  thanks
  ding
  thanks
  ding
  ding
  thanks
  ding
  ding
  thanks
  ding
  ding
  thanks
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  thanks
  ding
  thanks
  thanks
  ding
  thanks
  thanks
  thanks
  ding
  thanks
  thanks

·Hello(游客)发表评论于2008-9-22 14:12:00

為替 TOEFL

·个人主页 | 引用 | 返回 | 删除 | 回复

  thanks

发表评论:

    昵称:
    密码: (游客无须输入密码)
    主页:
    标题:
    载入数据...
 
 
Powered by Oblog.