显示日期和星期
拷贝下面的代码到你的html文件的<body>和</body>之间;
<table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><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=2 BGCOLOR=000000><TH><FONT COLOR=ffffff>") document.write("<CENTER>" + date.fontsize(3) + "</CENTER>"); document.write("</FONT></TH></TABLE></center><P>")// --> </script></td> </tr> </table>
摘自《傲虎设计室》 阿捷/文
与 或 标题 全文 关键字 以上全部
·国家级治脑病新药思维源 ·中藏药治疗脑病新突破 ·治类风湿,强直性脊柱炎 ·养肾·痛风·长寿 ·肝病泌尿脑萎缩新药介绍 ·强直性脊柱炎康复乐园 ·让中医辩证不孕不育 ·国医治股骨头坏死一绝 ·乙肝为何久治不愈? ·二千元垄断批发做老板 ·中医中药专治前列腺 ·治牛皮癣白癜风已成现实 ·专治痛风病的白衣天使 ·不孕不育的杏林奇葩 ·专卖店零售管理系统