网页自动滚动

<script> 
<!-- 
locate 
= 0
function autoscroll() 
{
    
if (locate !=3000 ) 
    {
        locate
++;
        scroll(
0,locate); 
        clearTimeout(timer); 
        
var timer = setTimeout("autoscroll()",1);
        timer;
    } 

--> 
</script> 

 

使用:

<body onload="autoscroll()">

posted on 2009-01-16 15:59  王培  阅读(379)  评论(0编辑  收藏  举报

导航