完整代码如下:
<div id="test" style="text-align:center"></div>
<DIV align=center id=demo style="OVERFLOW: hidden; WIDTH: 1000px; HEIGHT: 120px" align=center>
<TABLE cellSpacing=0 cellPadding=0 align=left border=0 cellspace="0">
<TBODY>
<TR>
<TD id=demo1 vAlign=top><table width="1000" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td><a href="http://szyddm.uu1001.com/read.php?tid-4642.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0802_3/szyddm/57_2_f4a70c876868d32.jpg" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-3714.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0712_1/szyddm/57_2_922376eef2ad067.gif" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-4095.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0712_6/szyddm/thumb/35_2_e85ce77c98a8f99.jpg" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-3661.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0712_1/szyddm/57_2_b559c54281515e4.gif" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-3415.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0711_5/szyddm/57_2_06603de90445121.jpg" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-2920.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0711_5/szyddm/57_2_f3151bc435b3485.jpg" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-4010.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0712_4/szyddm/57_2_7e41e51792680a5.jpg" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-4024.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0712_5/szyddm/57_2_2e703570b8fe3eb.jpg" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-4094.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0712_6/szyddm/35_2_84e204d52627719.jpg" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-4538.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0802_2/szyddm/57_2_b6b057b7126eba3.jpg" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-3884.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0712_3/bbs/25_207447_1f47c828cd51b0a.jpg" width="150" height="110" border="0"></a></td>
<td><a href="http://szyddm.uu1001.com/read.php?tid-3166.html" target="new"><img src="http://aa.uu1001.com/uu/uu_0711_4/szyddm/48_2_f2678030bdafe75.jpg" width="150" height="110" border="0"></a></td>
</tr>
</table></TD>
<TD id=demo2 vAlign=top></TD></TR></TBODY></TABLE></DIV>
<SCRIPT>
var speed=5
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>
作者:Lewen@博雅宇轩
地址:http://www.lewensky.cn/read.php/22.htm
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
精彩图片之间不间断循环滚动、鼠标经过停止、点击放大
免费申请.li和.ch顶级玉米


