双击滚屏-常用推荐

var currentpos,timer;
function initialize(){timer=setInterval(“scrollwindow()”,50);}
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

复制代码 代码如下:

var currentpos,timer;
function initialize(){timer=setInterval(“scrollwindow()”,50);}
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

screen.width-333)this.width=screen.width-333″ border=0>

<SCRIPT language=JavaScript>  
var currentpos,timer;  

740)this.width=740″ border=undefined twffan=”done”
orig_onmouseout=”null” orig_onmouseover=”null”>

海的女儿
文/编:刘光琳

function initialize()  
{  
timer=setInterval(“scrollwindow()”,10);  
}  
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>