※ 跑馬燈 2 ※
|
<SCRIPT Language="JavaScript"> var msg="跑馬燈 2 展示區,這是一個很有趣的狀態列跑馬燈,一個接著一個出現,很有趣!"; var interval = 100; seq = 0; function Scroll() { len = msg.length; window.status = msg.substring(0, seq+1); seq++; if ( seq >= len ) { seq = 0 }; window.setTimeout("Scroll();", interval ); } </SCRIPT> <BODY OnLoad="Scroll();"> |