<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>
脚本之家