自动平滑滚动到下来 - JavaScript

时间:2016-09-19 21:45:01

标签: javascript html scroll

我希望添加“播放”按钮和停止按钮,以便顺利向下滚动,而无需剪切



<html>
  <head>
    </head>
<body>

<ilayer id="body">
    <div style=" position: fixed; color:red;" ><button>play scroll down</button> <button>stop scroll dwon</button> </div>
test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br><br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>test <br>
</ilayer>

</body>
</html>
&#13;
&#13;
&#13;

0 个答案:

没有答案