对不起 地址给错了
正确的地址是这个:
http://www.quansou.com/scroll/scroll.html
http://www.quansou.com/scroll/scroll.js

解决方案 »

  1.   

    <div id="icefable1"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
                
                <tr valign="top"><!-- BEGIN promote_row 0,5 -->
                  <td width="756">                <table width="140" height="140"  border="0" cellpadding="0" cellspacing="0">
                      
                      <tr>
                        <td width="21" height="100">&nbsp;</td>
                        <td width="100"><a href="{promotelink}" target="_blank"><img src="{promoteimg}" alt="{promoteintro}" width="110" height="110" border="0" /></a></td>
                        <td width="19">&nbsp;</td>
                      </tr>
                      <tr>
                        <td colspan="3" valign="top"><div align="center">{promotetitle}</div></td>
                      </tr>
                      
                    </table></td>
                <!-- END promote_row --></tr>
                
            </table>
    </div>
    </td>
          </tr>
          <tr>
           
          </tr>
        </table></td>
      </tr>
      
      <tr>
        <td><img src="images/recommandprotitlebo.gif" width="763" height="10"></td>
      </tr>
    </table>
    </body>
    </html>
    <script>
    marqueesHeight=144; 
    stopscroll=false; with(icefable1)
    {    
    style.width=700;    
    style.height=marqueesHeight;    
    style.overflowX="visible";    
    style.overflowY="hidden";    
    noWrap=true;    
    onmouseover=new Function("stopscroll=true");    
    onmouseout=new Function("stopscroll=false");   
    }   
    preTop=0; currentTop=144; stoptime=0;   
    icefable1.innerHTML+=icefable1.innerHTML;   
    function init_srolltext()
    {   
    icefable1.scrollTop=0;   
    setInterval("scrollUp()",1); 
    }
    init_srolltext();
    function scrollUp()
    {   
    if(stopscroll==true) return;   
    currentTop+=1;   
    if(currentTop==145)   
    {    
    stoptime+=1;    
    currentTop-=1;    
    if(stoptime==300)    
    {     
    currentTop=0;     
    stoptime=0;        
    }   
    }   
    else
    {      
    preTop=icefable1.scrollTop;    
    icefable1.scrollTop+=1;    
    if(preTop==icefable1.scrollTop)
    {      
    icefable1.scrollTop=144;      
    icefable1.scrollTop+=1;         
    }   
    }}                
    </script>