<html>
<head>
<title>在标题栏显示时间_
脚本学堂_www.jb200.com提供</title>
<meta http-equiv="content-Type" content="text/html;charset=gb2312">
</head>
<body>
看看窗口标题?是不是看到到了?
<script language="
javascript">
var isMonth = new
Array("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月");
var isDay = new
Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日");
today = new Date () ;
Year=today.getYear();
Date=today.getDate();
if (document.all)
document.title="今天是: "+Year+"年"+isMonth[today.getMonth()]+Date+"日"+isDay[today.getDay()]
</script>
</body>
</html>