<script> <BR> //图片无间断滚动代码,兼容IE、Firefox、Opera <BR> //原脚本是IE only,来自网上,作者未知 <BR> //部分内容是由forestgan为了JS代码标准化,兼容以gecko为内核的浏览器于2006-10-30重写 <BR> //http://www.forest53.com <BR> var speed=40; <BR> var FGDemo=document.getElementById('demo'); <BR> var FGDemo1=document.getElementById('demo1'); <BR> var FGDemo2=document.getElementById('demo2'); <BR> FGDemo2.innerHTML=FGDemo1.innerHTML <BR> function Marquee1(){ <BR> if(FGDemo2.offsetHeight-FGDemo.scrollTop<=0) <BR> FGDemo.scrollTop-=FGDemo1.offsetHeight <BR> else{ <BR> FGDemo.scrollTop++ <BR> } <BR> } <BR> var MyMar1=setInterval(Marquee1,speed) <BR> FGDemo.onmouseover=function() {clearInterval(MyMar1)} <BR> FGDemo.onmouseout=function() {MyMar1=setInterval(Marquee1,speed)} <BR></script>