来源:www.cncfan.com | 2006-8-28 | (有5116人读过)
<SCRIPT language=Javascript> document.write("<table width=550 border=0 cellpadding=0 cellspacing=0 style=BORDER-LEFT: #cccccc 1px solid;BORDER-RIGHT: #cccccc 1px solid>"); document.write(" <tr> "); document.write(" <td width=550 height=74 align=center class=border01>"); document.write(" <div id=demo style=overflow:hidden;width:550;align=center>"); document.write(" <table border=0 align=center cellpadding=1 cellspacing=1 cellspace=0 >"); document.write(" <tr>"); document.write(" <td valign=top id=marquePic1> "); document.write(" <table width=100% border=0 cellspacing=0 cellpadding=0>"); document.write(" <tr align=center> "); document.write(" <td><img src=pic/01.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/02.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/03.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/04.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/05.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/06.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/07.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/08.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/09.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/10.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/11.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/12.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/13.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/14.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/15.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/16.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/17.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/18.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/19.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" <td><img src=pic/20.jpg width=97 height=74 hspace=2 border=1></td>"); document.write(" </tr>"); document.write(" </table>"); document.write(" </td>"); document.write(" <td id=marquePic2 valign=top></td>"); document.write(" </tr>"); document.write(" </table>"); document.write(" </div>"); document.write(" </td>"); document.write(" </tr>"); document.write(" </table>");
var speed=40; marquePic2.innerHTML=marquePic1.innerHTML; function Marquee(){ if(demo.scrollLeft>=marquePic1.scrollWidth){ demo.scrollLeft=0; }else{ demo.scrollLeft++; } } var MyMar=setInterval(Marquee,speed) demo.onmouseover=function() {clearInterval(MyMar)} demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} </SCRIPT>
|