var msg="欢迎光临CSDN!";
var interval = 100;
var spacelen = 120;
var space10=" ";
var seq=0;function Scroll(){
len = msg.length;
window.status = msg.substring(0, seq+1);
seq++;
if ( seq >= len ){
seq = spacelen;
window.setTimeout("Scroll2();", interval );
}else
window.setTimeout("Scroll();", interval );
}function Scroll2(){
var out="";
for (i=1; i<=spacelen/space10.length; i++) 
out +=space10;
out = out + msg;
len=out.length;
window.status=out.substring(seq, len);
seq++;
if ( seq >= len ) { seq = 0; };
window.setTimeout("Scroll2();", interval );
}
Scroll();

解决方案 »

  1.   

    <table width="770" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td bgcolor="#F3F9FC" >
      <marquee behavior="scroll" scrollDelay=80 scrollamount="5" onmouseover="this.stop()" onmouseout="this.start()">
    消息一
    消息二
    消息三
    消息四
    消息五
    消息六
    消息七
    消息八
    消息九
      </marquee>
      </td>
        </tr>
    </table>
      

  2.   

    <table width="770" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td bgcolor="#F3F9FC" >
      <marquee behavior="scroll" scrollDelay=80 scrollamount="5" onmouseover="this.stop()" onmouseout="this.start()">
    <a href="1.htm">消息一</a>
    <a href="2.htm">消息二</a>
    <a href="3.htm">消息三</a>
    <a href="4.htm">消息四</a>
    <a href="5.htm">消息五</a>
    <a href="6.htm">消息六</a>
    <a href="7.htm">消息七</a>
    <a href="8.htm">消息八</a>
    <a href="9.htm">消息九</a>
      </marquee>
      </td>
        </tr>
    </table>
      

  3.   

    用<marque></marque>可以实现的!
      

  4.   


      <marquee behavior="scroll" scrollDelay=80 scrollamount="5" onmouseover="this.stop()" onmouseout="this.start()">
    <a href="1.htm">&Iuml;&ucirc;&Iuml;&cent;&Ograve;&raquo;</a>
    <a href="2.htm">&Iuml;&ucirc;&Iuml;&cent;&para;&thorn;</a>
    <a href="3.htm">&Iuml;&ucirc;&Iuml;&cent;&Egrave;&yacute;</a>
    <a href="4.htm">&Iuml;&ucirc;&Iuml;&cent;&Euml;&Auml;</a>
    <a href="5.htm">&Iuml;&ucirc;&Iuml;&cent;&Icirc;&aring;</a>
    <a href="6.htm">&Iuml;&ucirc;&Iuml;&cent;&Aacute;ù</a>
    <a href="7.htm">&Iuml;&ucirc;&Iuml;&cent;&AElig;&szlig;</a>
    <a href="8.htm">&Iuml;&ucirc;&Iuml;&cent;°&Euml;</a>
    <a href="9.htm">&Iuml;&ucirc;&Iuml;&cent;&frac34;&Aring;</a>
      </marquee>
      

  5.   

    以上招子。zhfkiller(杀手) 得分200分
    多谢各位的技吃。
    其余各位每人20分。结招了。
    除非下面的招子特别好,不然版主不给分。