向下滚动一段距离
距离顶部距离 var scrollTop=document.documentElement.scrollTop||document.body.scrollTop;
<script type="text/javascript"> window.onload=function(){ document.body.scrollTop=5; } </script>
向下滚动一段距离
距离顶部距离 var scrollTop=document.documentElement.scrollTop||document.body.scrollTop;
<script type="text/javascript"> window.onload=function(){ document.body.scrollTop=5; } </script>
转载于:https://www.cnblogs.com/-lpf/p/5501454.html