一个能够在访问器题目栏显示信息的企业网站建


如图所示,一些顾客必须自身的网立在开启访问器时,在访问器的题目栏能显示信息時间,那麼,做为服务方的大家-深圳市企业网站建设企业,怎样考虑顾客的规定呢?

非常简单,假如顾客必须这一作用得话,要是将下列编码载入网站制作编码的

!--HTML的 Head /Head 中间--

便可以完成了,赶快试一试吧~


script language="JavaScript1.2"

!--hide
var isnMonth = new
Array("一月","二月","三月","4月","五月","6月","8月","八月","九月份","十月","十一月","11月");
var isnDay = new
Array("礼拜日","礼拜一","礼拜二","礼拜三","礼拜四","礼拜五","礼拜六","礼拜日");
today = new Date () ;
Year=today.getYear();
Date=today.getDate();
if (document.all)
document.title="『深圳市企业网站建设』热烈欢迎您的来临,今日是: "+Year+"年"+isnMonth[today.getMonth()]+Date+"日"+isnDay[today.getDay()]
//--hide--
/script