跳到主文
部落格全站分類:心情日記
文字移動式 (右→左)!!
將改好的文字貼到側邊欄位內容裡!!下方狀態就會出現跑馬燈囉!!!
★ ☆ ★ ☆ ★ ☆ ─╪ ° ☆ 妤〃想念是會呼吸的痛...╭★ ☆ ★ ☆ ★ ☆
<html> <head> <title></title> <SCRIPT LANGUAGE="JavaScript"> <!-- function scroll(seed) { var m1 = "輸入第一段文字" var m2 = "輸入第二段文字 " var msg=m1+m2; var out = " "; var c = 1; if (seed > 100) { seed--; var cmd="scroll(" + seed + ")"; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 100 && seed > 0) { for (c=0 ; c < seed ; c++) { out+=" "; } out+=msg; seed--; var cmd="scroll(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 0) { if (-seed < msg.length) { out+=msg.substring(-seed,msg.length); seed--; var cmd="scroll(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,100); } else { window.status=" "; timerTwo=window.setTimeout("scroll(100)",7); } } } timerONE=window.setTimeout('scroll(100)',50); //--> </SCRIPT> </head> <body> </body> </html>
─╪ ° ☆ 妤 〃 ° +
─╪°☆ 妤╭☆ 發表在 痞客邦 留言(0) 人氣()
{{ guestName }} (登出)
您尚未登入,將以訪客身份留言。亦可以上方服務帳號登入留言
請輸入暱稱 ( 最多顯示 6 個中文字元 )
請輸入標題 ( 最多顯示 9 個中文字元 )
請輸入內容 ( 最多 140 個中文字元 )
請輸入左方認證碼:
看不懂,換張圖
請輸入驗證碼
留言列表