日期:2014-05-16 浏览次数:20380 次
<script> var speed = 40 democ2.innerHTML = democ1.innerHTML function Marquee1() { if (democ2.offsetWidth - democ.scrollLeft <= 0) democ.scrollLeft -= democ1.offsetWidth else democ.scrollLeft++ } var MyMar1 = setInterval(Marquee1, speed) democ.onmouseover = function () { clearInterval(MyMar1) } democ.onmouseout = function () { MyMar1 = setInterval(Marquee1, speed) } </script>