字符的狀態欄不停的跳動、閃爍 - 中國WEB開發者網絡 (http://www.webasp.net) -- 網頁特效 (http://www.webasp.net/javascript/) --- 字符的狀態欄不停的跳動、閃爍 (http://www.webasp.net/javascript/1/172.htm) |
| -- 發佈日期: 2004-06-15 |
| <!-- 網頁特效代碼由[中國WEB開發者網絡:http://www.ChinaWebDev.com]提供! --> <!-- 要實現此效果需要 2 個步驟: --> <!-- 第 1 步: --> <!-- 把下面的代碼加到<HEAD></HEAD>區域中: --> <script language=""> <!-- var yourwords = "歡迎光臨中國WEB開發者網絡!!!"; var speed = 700; var control = 1; function flash() { if (control == 1) { window.status=yourwords; control=0; } else { window.status=""; control=1; } setTimeout("flash()",speed); } // --> </script> <!-- 第 2 步: --> <!-- 把<BODY>中的屬性代碼改為: --> <BODY onLoad="flash()"> |
| webasp.net |