狀態列時間+訊息...(下方)...
覺得不錯的...
就拿去用囉...
語法說明:
1.將下列語法貼於</head>之前
<script language="JavaScript">
<!--
timeID = 10;
stcnt = 16;
msg = "我在這裡我在這裡!看到了沒......^_^";
wmsg = new Array(32);
wmsg[0]=msg;
blnk = " ";
for (i=1; i<32; i++)
{
b = blnk.substring(0,i);
wmsg[i]="";
for (j=0; j<msg.length; j++) wmsg[i]=wmsg[i]+msg.charAt(j)+b;
}
function wiper()
{
ct = new Date();
h = "0"+ct.getHours();
m = "0"+ct.getMinutes();
s = "0"+ct.getSeconds();
h = h.substring(h.length-2,h.length+1);
m = m.substring(m.length-2,m.length+1);
s = s.substring(s.length-2,s.length+1);
cl = " 現在時間: "+h+":"+m+":"+s+" ";
if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
if (stcnt-- < -40) stcnt=31;
status = cl+str;
clearTimeout(timeID);
timeID = setTimeout("wiper()",100);
}
-->
</script>
在 msg="我在這裡我在這裡!看到了沒......^_^"; 中修改要顯示的文字
2.將下列語法貼於<body>之中
onLoad="wiper()"
如需語法...請至原文取用...謝謝...