Header訊息輪播

Header訊息輪播

讓您的部落格或網頁上的Header有訊息輪播效果,

各位可參考下面這段Script:

01 <script language="JavaScript">
02 var a1 = "Something1.....";
03 var a2 = "Something2.....";
04 var delay = 1600;
05 b1();
06 function b1() {
07     ID = setTimeout("b2()",delay);
08     document.title = (a1);
09 }

10 function b2() {
11     ID = setTimeout("b1()",delay);
12     document.title = (a2);
13 }

14 </script>

 

如想在點部落有這效果的話,

可在管理介面的「選項」 -> 「組態設定」 -> 「Custom HTML/Script」放置這段Script。

 

 



Williams{ShowTime} @ Dotblogs
if (me.today == me.yesterday) me.tomorrow = null;