<table border=0 align=center cellpadding=1 cellspacing=1 cellspace=0 >
<tr><td valign=top bgcolor=ffffff id=marquePic1>
    <table width='100%' border='0' cellspacing='0'>
    <tr><td align=center><a href='content/p1.html' target="frame"><img src="picture/2012042715271016.jpg" width=300 height=230 border=0><br>黑龙江省学生资助工作表彰大会召开</a></td>
       <td align=center><a href='content/p2.html' target="frame"><img src="picture/2012050310200768.jpg" width=300 height=230 border=0><br>李凤林大使解析当前国际形势</a></td>
       <td align=center><a href='content/p3.html' target="frame"><img src="picture/2012041809315343.jpg" width=300 height=230 border=0><br>青春歌会暨第十六届最佳颁奖典礼</a></td>
       <td align=center><a href='content/p4.html' target="frame"><img src="picture/2012050217005909.jpg" width=300 height=230 border=0><br>我校聘V.N.帕尔蒙院士为特聘教授</a></td>
       <td align=center><a href='content/p5.html' target="frame"><img src="picture/2012040616053945.jpg" width=300 height=230 border=0><br>我校召开2012年春季安全工作会议</a></td>
   </tr>
   </table></td>
   <td id=marquePic2 valign=top></td></tr>
</table></div>
<script>
var speed=30
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>

解决方案 »

  1.   

    ie下都不行。。别说ff 了你那个demo哪里来的 (不要一味的copy代码)
      

  2.   

    <div class="picture">
    <div id=demo style="overflow:hidden;width:750;" align=center>
        <table border=0 align=center cellpadding=1 cellspacing=1 cellspace=0 >
    <tr><td valign=top bgcolor=ffffff id=marquePic1>
        <table width='100%' border='0' cellspacing='0'>
        <tr><td align=center><a href='content/p1.html' target="frame"><img src="picture/2012042715271016.jpg" width=300 height=230 border=0><br>黑龙江省学生资助工作表彰大会召开</a></td>
           <td align=center><a href='content/p2.html' target="frame"><img src="picture/2012050310200768.jpg" width=300 height=230 border=0><br>李凤林大使解析当前国际形势</a></td>
           <td align=center><a href='content/p3.html' target="frame"><img src="picture/2012041809315343.jpg" width=300 height=230 border=0><br>青春歌会暨第十六届最佳颁奖典礼</a></td>
           <td align=center><a href='content/p4.html' target="frame"><img src="picture/2012050217005909.jpg" width=300 height=230 border=0><br>我校聘V.N.帕尔蒙院士为特聘教授</a></td>
           <td align=center><a href='content/p5.html' target="frame"><img src="picture/2012040616053945.jpg" width=300 height=230 border=0><br>我校召开2012年春季安全工作会议</a></td>
       </tr>
       </table></td>
       <td id=marquePic2 valign=top></td></tr>
    </table></div>
    <script>
    var speed=30
    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>
    .picture
    {
    margin-left:auto;
    margin-right:auto;
    margin-bottom:10px;
    margin-top:10px;
    width:944px;
    height:250px;
    font-size: 16px;
    }这个是对picture的css代码