最新標題欄的定時信息_JS特效代碼html
如下是三零網爲你們整理的最新標題欄的定時信息_JS特效代碼的文章,但願你們可以喜歡!ide
<SCRIPT LANGUAGE="JavaScript"><!-- document.write (' </td><td> </td>'); //--></SCRIPT> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function settitle() { var a = "如今是第10秒 "; var b = "如今是第20秒"; var c = "如今是第30秒"; var d = "如今是第40秒 "; var e = "如今是第50秒"; var f = "如今是第60秒"; var t = new Date(); s = t.getSeconds(); if (s == 10) { document.title = a;} else if (s == 20) { document.title = b;} else if (s == 30) { document.title = c;} else if (s == 40) { document.title = d;} else if (s == 50) { document.title = e;} else if (s == 00) { document.title = f;} setTimeout("settitle()", 1000); } settitle() // End --> </script>spa |
轉載來自:http://www.q3060.com/list3/list115/322.htmlorm