<!--图片滚动代码开始-->
<div id=demo style="BACKGROUND: #ffffff; OVERFLOW: hidden; WIDTH: 510px; COLOR: #ffffff; HEIGHT: 110px">
<table cellPadding=0 align=center border=0 cellspace="0">
<tr>
<td id=demo1 vAlign=top>
<!--您的图片或者要滚动的内容-->
</td>
<td id=demo2 vAlign=top>
</td>
</tr>
</table>
<SCRIPT>
var speed=30
demo2.innerHTML=demo1.innerHTML
function Marquee(){
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</SCRIPT>
</div>
<!--图片滚动代码结束-->
<div id=demo style="BACKGROUND: #ffffff; OVERFLOW: hidden; WIDTH: 510px; COLOR: #ffffff; HEIGHT: 110px">
<table cellPadding=0 align=center border=0 cellspace="0">
<tr>
<td id=demo1 vAlign=top>
<!--您的图片或者要滚动的内容-->
</td>
<td id=demo2 vAlign=top>
</td>
</tr>
</table>
<SCRIPT>
var speed=30
demo2.innerHTML=demo1.innerHTML
function Marquee(){
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</SCRIPT>
</div>
<!--图片滚动代码结束-->