語法展示:: http://home.graffiti.net/zfdgdg33/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<body>及</body>標籤之間。
<script language="JavaScript">
<!--
var enabled = 0; today = new Date();
var day; var date;
if(today.getDay()==0) day = "星期日"
if(today.getDay()==1) day = "星期一"
if(today.getDay()==2) day = "星期二"
if(today.getDay()==3) day = "星期三"
if(today.getDay()==4) day = "星期四"
if(today.getDay()==5) day = "星期五"
if(today.getDay()==6) day = "星期六"
document.fgColor = "000000";
date = " 今天是西元 " + (today.getYear()) + " 年" + (today.getMonth() + 1 ) + " 月 " + today.getDate() + " 日 " + day +"";
document.write("<CENTER><TABLE BORDER=0 BGCOLOR=000000><TH><FONT COLOR=FFFFFF>")
document.write("<CENTER>" + date.fontsize(3) + "</CENTER>");
document.write("</FONT></TH></TABLE></center><P>")
-->
</script>
在 <TABLE BORDER=0 BGCOLOR=000000><TH><FONT COLOR=FFFFFF> 中修改表格框粗細、背景色彩、顯示文字的色彩
留言列表