每日一語
將下列程式碼複製至<head>程式碼</head>區內。
<script language="JavaScript"> <!-- tips = new Array(4); tips[0] = "相信明天一定比今天好"; tips[1] = "相信努力以赴必有收穫"; tips[2] = "相信面對難關決不低頭"; tips[3] = "相信風調雨順國泰民安"; index = Math.floor(Math.random() * tips.length); document.write("<CENTER><P><FONT SIZE=2 COLOR=DARKBLUE>" + tips[index] + "</CENTER></FONT></P>"); // --> </script> |