代码
<div id=demo style=overflow:hidden;height:128;width:700;color:#ffffff;>
<table border=0 align=left cellpadding=2 cellspacing="0px" cellspace="0px">
<tr><td height="0px" valign=top id=demo1>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="http://220.167.136.6/readnews.asp?newsid=520"><img src="http://220.167.136.6/upload/20093216959601.jpg" width="200" height="128" border="1"></a></td>
<td><a href="http://220.167.136.6/readnews.asp?newsid=522"><img src="http://220.167.136.6/upload/200932162658767.jpg" width="200" height="128" border="1"></a></td>
<td><a href="http://220.167.136.6/readnews.asp?newsid=520"><img src="http://220.167.136.6/upload/200932161142278.jpg" width="200" height="128" border="1"></a></td>
<td><a href="http://220.167.136.6/readnews.asp?newsid=520"><img src="http://220.167.136.6/upload/200932161129870.jpg" width="200" height="128" border="1"></a></td>
<td><a href="http://220.167.136.6/readnews.asp?newsid=518"><img src="http://220.167.136.6/upload/200932155531947.jpg" width="200" height="128" border="1"></a></td>
<td><a href="http://220.167.136.6/readnews.asp?newsID=602"><img src="http://220.167.136.6/upload/200954103534937.jpg" width="200" height="128" border="1"></a></td>
</tr>
</table>
</td>
<td id=demo2 valign=top></td></tr></table></div>
<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>