語法展示::  http://home.graffiti.net/kliuuu888r/


請用IE6.0或更新版本觀看語法特效展示

本效果會依時間變換問候語
(以一星期7天為一個週期)

將以下程式碼複製,貼在<body>及</body>標籤之間。

<script language="JavaScript">
<!--
document.write("<center><font size=3>")
now = new Date()
if (now.getDay() == 0)
document.write("今天是星期日")
if (now.getDay() == 1)
document.write("今天是星期一")
if (now.getDay() == 2)
document.write("今天是星期二")
if (now.getDay() == 3)
document.write("今天是星期三")
if (now.getDay() == 4)
document.write("今天是星期四")
if (now.getDay() == 5)
document.write("今天是星期五")
if (now.getDay() == 6)
document.write("今天是星期六")
document.write("</center></font>")
-->
</script>


<font size=3> 中修改文字的大小
自行修改每日的問候語

arrow
arrow
    全站熱搜

    eeredqq 發表在 痞客邦 留言(0) 人氣()