动画根据电脑时间变换动画场景,分别是早上、中午、晚上三个场景,觉得比较适合放再网站的top上面,这样可以根据访问者的本地电脑时间变换不同场景,从而给访问用户一种关怀备至的感觉。 more…
想想自2006年开始注册域名主机以来,一路走来一路换博客程序,最后选择了ZBlog作为博客程序,也因此数月前热情的投入到ZBlog论坛社区,由起初的菜鸟混到今天还是个菜鸟,投入了热情,投入了希望,后因种种原因逐渐退却了热情,慢慢的冷漠,直到今天的失望。
为什么会失望呢,可能原因很多吧,管理组的权势,蛮横,傲视等等,日复一日老调重弹,日复一日的菜鸟问题,论坛一直停滞不前。
改天接着写吧,今天心情不佳
此事到此告一段落,且听下回分解
早上9点被闹钟吵醒,关闭闹钟惯性的看了一下时间,闭眼准备继续睡觉,上班原因闭上眼睛就开始想,9点了好像是最后一个闹钟了呢(因为烂睡原因,手机上设置了三个早上的闹钟7:45′/8:35′/9:00′)
,是不是该起床了,好像是最后一个闹钟了,不然一会睡着没有闹钟了哦。
起床后一直在想,为什么手机没有提示我那是最后一个闹钟呢,脑子还没有完全清。醒例如:“这是最后一道闹钟了,该起床了吧” 。
接着想的事情就多了,想起一些网站、一些软件、一些人都挂着人性化、本地化、等等旗号关心用户体验。但实际上他们做了吗?他们换位想了吗?他们体验了吗?产生种种疑问,最后我想很多只是宣传,只是幌子,他们只替你想钱怎么花,让你花更多的钱。
待续…
在导航首页添加一个时间显示含问候语JS给访问我本站的朋友作个提示,注意上网时间,下面是源码,主要分为两段JS代码,一段时间显示,一段问候语,方便拆分调用,基本兼容所有浏览器
<SCRIPT language="JavaScript">
<pre class="javascript"><!----
todayDate = new Date();
date = todayDate.getDate();
month= todayDate.getMonth() +1;
year= todayDate.getYear();
document.write("现在是")
document.write(":")
if(navigator.appName == "Netscape")
{
document.write(1900+year);
document.write("年");
document.write(month);
document.write("月");
document.write(date);
document.write("日");
document.write("/")
}
if(navigator.appVersion.indexOf("MSIE") != -1)
{
document.write(year);
document.write("年");
document.write(month);
document.write("月");
document.write(date);
document.write("日");
document.write("/")
}
if (todayDate.getDay() == 5) document.write("星期五")
if (todayDate.getDay() == 6) document.write("星期六")
if (todayDate.getDay() == 0) document.write("星期日")
if (todayDate.getDay() == 1) document.write("星期一")
if (todayDate.getDay() == 2) document.write("星期二")
if (todayDate.getDay() == 3) document.write("星期三")
if (todayDate.getDay() == 4) document.write("星期四")
//--->
</SCRIPT>
<SCRIPT language="JavaScript">
<!--
document.write("<font color=#0066ff> ")
day = new Date()
hr = day.getHours()
if (hr ==1)
document.write("凌晨一点已过,别忘了休息喔!")
if (hr ==2)
document.write("该休息了,身体可是革命的本钱啊!")
if (hr ==3)
document.write("夜深人静,只有你敲击鼠标的声音...")
if (hr ==4)
document.write("四点过了,你明天不上班???")
if (hr ==5)
document.write("该去晨运了!!!")
if (hr ==6)
document.write("你知道吗,此时是国内网络速度最快的时候!")
if (hr ==7)
document.write("新的一天又开始了,祝你过得快乐!")
if ((hr ==8) || (hr == 9) || (hr ==10))
document.write("上午好!今天你看上去好精神哦!")
if (hr ==11)
document.write("十一点过了,快下班了吧?")
if (hr ==12)
document.write("十二点过了,还不下班?")
if ((hr==13) || (hr==14))
document.write("你不睡午觉?")
if ((hr==15) || (hr==16) || (hr==17))
document.write("下午好!")
if ((hr==18) || (hr==19))
document.write("吃晚饭了吧?")
if ((hr==20) || (hr==21) || (hr==22))
document.write("今晚又在这玩电脑了,没节目?")
if (hr==23)
document.write("真是越玩越精神,不打算睡了?")
if (hr==0)
document.write("凌晨了,还不睡?")
document.write("</font>")
//--->
</SCRIPT>












