<SCRIPT language=javascript>
var currentpos,timer
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>
========================================
把以上代码放在需要双击自动滚屏的页面的<head>代码中.就可以了
JS代码放到<head></head>区域中间。<head>
<SCRIPT language="JavaScript">
<!--
function scrollit(){
for (I=1I<=500I++){
self.scroll(1,I)
}
}
//-->
</SCRIPT>
</head>
<body onLoad="scrollit()">
………………
</body>