求图片滚动代码。。。。
<table width="640px" border="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td height="100"><div id=demo style="HEIGHT:150px;OVERFLOW:hidden;WIDTH: 600px;margin:0;padding:0px">
<!--滚动区的高度和宽度-->
<table align=center border=0 cellpadding=0 cellspacing="0">
<tr>
<td id=demo1><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href=""><img src="images/p1.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p2.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p3.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p4.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p5.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p6.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p7.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p8.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p9.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p10.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p11.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p12.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p2.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p3.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p4.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p5.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p6.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p7.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p8.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p9.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p10.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p11.jpg" border="0" class="m2"/></a></td>
<td><a href=""><img src="images/p12.jpg" border="0" class="m2"/>S</a></td>
</tr>
</table></td>
<td id=demo2></td>
</tr>
</table>
<script>
var Picspeed=30
demo2.innerHTML=demo1.innerHTML
function Marquee1(){
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar1=setInterval(Marquee1,Picspeed)
demo.onmouseover=function() {clearInterval(MyMar1)}
demo.onmouseout=function() {MyMar1=setInterval(Marquee1,Picspeed)}
</script>
<!--特效结束 --> </td>
</tr>
</table>
这个比较好 简洁