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;
详细解决方案
双击网页向下滚动
热度:110 发布时间:2012-10-23 12:12:22.0
相关解决方案