实现图片连续播放代码

<div id=xxb style="BACKGROUND: #ffffff; OVERFLOW: hidden; WIDTH: 700px; COLOR: #000000; HEIGHT: 160px;margin-left:10;display:inline;" align=center>
<table width="100%" height='160' border='0' align='left' cellpadding='0' cellspacing='0' cellspace='0'>
<tbody>
<tr>
<td align="left" valign='top' id='xxb1'><table width="100%" >
<tr>
<td valign='middle' border="1">
<table width='100%' cellpadding='0' cellspacing='5' border='0' align='center'>
<tr valign='top'>
<td align='center'><a class="" href="/snrw/201105/132.html" title="唐开平" target="_blank"><img class='pic1' src='/snrw/UploadFiles_5059/201105/2011051022232256.jpg' width='120' height='120' border='0'></a><br><a class="" href="/snrw/201105/132.html" title="唐开平" target="_blank">唐开平</a></td>
<td align='center'><a class="" href="/snrw/201105/131.html" title="刘世礼" target="_blank"><img class='pic1' src='/snrw/UploadFiles_5059/201105/2011051022204042.jpg' width='120' height='120' border='0'></a><br><a class="" href="/snrw/201105/131.html" title="刘世礼" target="_blank">刘世礼</a></td>
<td align='center'><a class="" href="/snrw/201105/130.html" title="郁全和" target="_blank"><img class='pic1' src='/snrw/UploadFiles_5059/201105/2011051022184202.jpg' width='120' height='120' border='0'></a><br><a class="" href="/snrw/201105/130.html" title="郁全和" target="_blank">郁全和</a></td>
<td align='center'><a class="" href="/snrw/201105/129.html" title="李振华" target="_blank"><img class='pic1' src='/snrw/UploadFiles_5059/201105/2011051022163932.jpg' width='120' height='120' border='0'></a><br><a class="" href="/snrw/201105/129.html" title="李振华" target="_blank">李振华</a></td>
<td align='center'><a class="" href="/snrw/201105/128.html" title="宋福如" target="_blank"><img class='pic1' src='/snrw/UploadFiles_5059/201105/2011051022145849.jpg' width='120' height='120' border='0'></a><br><a class="" href="/snrw/201105/128.html" title="宋福如" target="_blank">宋福如</a></td>
<td align='center'><a class="" href="/snrw/201105/127.html" title="吴栋材" target="_blank"><img class='pic1' src='/snrw/UploadFiles_5059/201105/2011051021214296.gif' width='120' height='120' border='0'></a><br><a class="" href="/snrw/201105/127.html" title="吴栋材" target="_blank">吴栋材</a></td>
<td align='center'><a class="" href="/snrw/201105/126.html" title="吴金国" target="_blank"><img class='pic1' src='/snrw/UploadFiles_5059/201105/2011051021182749.jpg' width='120' height='120' border='0'></a><br><a class="" href="/snrw/201105/126.html" title="吴金国" target="_blank">吴金国</a></td></tr></table>
</td>
</tr>
</table></td>
<td valign='top' id='xxb2' width="2"></td>
</tr>
<script>
var speed=30
xxb2.innerHTML=xxb1.innerHTML
function Marquee(){
if(xxb2.offsetWidth-xxb.scrollLeft<=0)
xxb.scrollLeft-=xxb1.offsetWidth
else{
xxb.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
xxb.onmouseover=function() {clearInterval(MyMar)}
xxb.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script>
</tbody>
</table>
</div>

  网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)