中文(繁体)
<!--要完成此效果把如下程式碼加入<head>區域中--> <script language="JavaScript"> var msg = "歡迎光臨建站學院,請多提意見。謝謝! " ; var interval = 120 var spacelen = 120; var space10=" "; var seq=0; function Scroll() { len = msg.length; window.status = msg.substring(0, seq+1); seq++; if ( se = msg.substring(0, seq+1); seq++; if ( seq >= len ) { seq = 0; window.status = ''; window.setTimeout("Scroll();", interval ); } else window.setTimeout("Scroll();", interval ); } Scroll(); < /script>