文章来源: BBS.KESONIC.COM
<script language="LiveScript">
<!--
now = new Date(),hour = now.getHours()
if(hour < 4){document.write("呵呵,你果然通宵啊!")}
else if (hour < 6){document.write("玩了这么久了,休息一下吧!")}
else if (hour < 7){document.write("该吃早饭喽!")}
else if (hour < 8){document.write("早上好啊!")}
else if (hour < 11){document.write("朋友,上午好啊!")}
else if (hour < 12){document.write("是不是饿了,该吃午饭了")}
else if (hour < 14){document.write("你怎么不午休呢?")}
else if (hour < 18){document.write("朋友,下午好!")}
else if (hour < 22){document.write("朋友,晚上好!")}
else if (hour < 23){document.write("今晚已太迟了! 应休息了! 做个好梦!")}
else if (hour < 24){document.write("都这么晚了你还在?通宵啊?")}
// -->
</script>
|