<html>
<head>
<script language="
javascript" type="text/javascript">
//双击鼠标滚动屏幕的代码
var currentpos,timer;
function initialize()
{
timer=setinterval("scrollwindow()",30);
}
function sc()
{
clearinterval(timer);
} // www.jb200.com
function scrollwindow()
{
currentpos=document.body.scrolltop;
window.scroll(0,++currentpos);
if(currentpos !=document.body.scrolltop)
{
sc();
}
}
document.onmou
sedown=sc; //停止
document.ondblclick=initialize; //开始
</script>
</head>
<body>
<%
for i=1 to 100
%>
<p>双击屏幕滚动的js代码,
脚本学堂 http://www.jb200.com 提供。</p>
<%
next
%>
</body>
</html>