代码如下:[removed] var scrollDelay=10;//数字越大速度越慢 var Scroll=document.getElementById(“scroll”); var Scroll2=document.getElementById(“scroll2”); var currentTop=0,preTop=0,stoptime=0,stopscroll=false; var ScrollChild=Scroll.getElementsByTagName(“li”); var ScrollHeight=Scroll.offsetHei