I-See 論壇 » 網上日記區 » Q O O Z A 專區 » qz時間問侯語=.=

2009-7-28 02:08 AM 『峰』
qz時間問侯語=.=

qz的時間問候語
唔好意思=.=小弟本身放正中上
<table width="100%" style="position:absolute;left: 0px ;top: 10px">
<td align="center">
<font size=4>
<script language=JavaScript>
var today = new Date ()
var hours = today.getHours();
document.write( "<font color=blue face='新細明體'>");
if (hours <=0) document.write("[b]早上12點啦,早抖[/b]");
else if (hours <= 1) document.write("[b]早上1 點,仲唔快d去訓?![/b]");
else if (hours <= 2) document.write("[b]午夜 2 點丫[/b]");
else if (hours <= 3) document.write("[b]已經午夜 3 點左右了,快d去訓[/b]");
else if (hours <= 4) document.write("[b]已經午夜 4 點左右了,快d去訓[/b]");
else if (hours <= 5) document.write("[b]真係好早wor! 5 點多了[/b]");
else if (hours <= 6) document.write("[b]咁早呀!6 點多了[/b]");
else if (hours <= 7) document.write("[b]站長訓教中...勿擾xp!7 點多了[/b]");
else if (hours <= 8) document.write("[b]早上8 點左右了[/b]");
else if (hours <= 9) document.write("[b]早上9 點左右了[/b]");
else if (hours <= 10) document.write("[b]早上 10 點,未起身![/b]");
else if (hours <= 11) document.write("[b]早晨~_~..早上 11 點多了[/b]");
else if (hours <= 12) document.write("[b]食飯時間:中午 12 點[/b]");
else if (hours <= 13) document.write("[b]下就 1 點,冇野做[/b]");
else if (hours <= 14) document.write("[b]下午 2 點喇[/b]");
else if (hours <= 15) document.write("[b]下午 3 點,打機時間[/b]");
else if (hours <= 16) document.write("[b]下午 4 點, 大家放學0.0![/b]");
else if (hours <= 17) document.write("[b]下午 5 點,返到屋企[/b]");
else if (hours <= 18) document.write("[b]下午 6 點多了,打機..[/b]");
else if (hours <= 19) document.write("[b]晚上 7 點多了,食飯先![/b]");
else if (hours <= 20) document.write("[b]晚上 8 點了,再打機[/b]");
else if (hours <= 21) document.write("[b]晚上 9 點了,打緊機,別理我\口/[/b]");
else if (hours <= 22) document.write("[b]晚上 10 點了,如果要返學就好訓啦[/b]");
else if (hours <= 23) document.write("[b]晚上 11 點了,仲唔訓?.?因住第日遲到[/b]");
</script></font>
</td></table>
上面d字都係自己改的-_-
粗體改就可以改自己鐘意的字啦"

放野係中上的語法"
<table width="100%" style="position:absolute;left: 0px ;top: 10px">
<td align="center">
想放中上位的野~.~
</td></table>


效果
[attach]365596[/attach]

2009-8-11 02:59 AM 威風琳琳:D
哈.我之前都有加過._.

頁: [1]
查看完整版本: qz時間問侯語=.=


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.