29、自动滚屏按钮

29、自动滚屏按钮

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title>网页特效---自动滚屏按钮</title>

</head>

 

<body>

 

 

<script Language="JavaScript">

function scrollit(){

        for (I=1; I<=500; I++){

                parent.scroll(1,I)

        }

}

</script>

<form>

<div align="center"><center><p><input type="button" value="向下滚屏" onClick="scrollit()"> </p>

</center></div>

</form>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

</body>

 

</html>

Write a comment

Comments: 0