<script> <br>var speed=50 <br>demo2.innerHTML=demo1.innerHTML <br>function Marquee(){ <br>if(demo2.offsetTop-demo.scrollTop<=0) <BR>demo.scrollTop-=demo1.offsetHeight <BR>else{ <BR>demo.scrollTop <BR>} <BR>} <BR>var MyMar=setInterval(Marquee,speed) <BR>demo.onmouseover=function() {clearInterval(MyMar)} <BR>demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} <BR></script>
脚本之家