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("早上12點啦,早抖"); 
else if (hours <= 1) document.write("早上1 點,仲唔快d去訓?!"); 
else if (hours <= 2) document.write("午夜 2 點丫"); 
else if (hours <= 3) document.write("已經午夜 3 點左右了,快d去訓"); 
else if (hours <= 4) document.write("已經午夜 4 點左右了,快d去訓"); 
else if (hours <= 5) document.write("真係好早wor! 5 點多了"); 
else if (hours <= 6) document.write("咁早呀!6 點多了"); 
else if (hours <= 7) document.write("站長訓教中...勿擾xp!7 點多了"); 
else if (hours <= 8) document.write("早上8 點左右了"); 
else if (hours <= 9) document.write("早上9 點左右了"); 
else if (hours <= 10) document.write("早上 10 點,未起身!"); 
else if (hours <= 11) document.write("早晨~_~..早上 11 點多了"); 
else if (hours <= 12) document.write("食飯時間:中午 12 點"); 
else if (hours <= 13) document.write("下就 1 點,冇野做"); 
else if (hours <= 14) document.write("下午 2 點喇"); 
else if (hours <= 15) document.write("下午 3 點,打機時間"); 
else if (hours <= 16) document.write("下午 4 點, 大家放學0.0!"); 
else if (hours <= 17) document.write("下午 5 點,返到屋企"); 
else if (hours <= 18) document.write("下午 6 點多了,打機.."); 
else if (hours <= 19) document.write("晚上 7 點多了,食飯先!"); 
else if (hours <= 20) document.write("晚上 8 點了,再打機"); 
else if (hours <= 21) document.write("晚上 9 點了,打緊機,別理我\口/"); 
else if (hours <= 22) document.write("晚上 10 點了,如果要返學就好訓啦"); 
else if (hours <= 23) document.write("晚上 11 點了,仲唔訓?.?因住第日遲到"); 
</script></font> 
</td></table> 
上面d字都係自己改的-_- 
粗體改就可以改自己鐘意的字啦" 
 
放野係中上的語法" 
<table width="100%" style="position:absolute;left: 0px ;top: 10px"> 
<td align="center"> 
想放中上位的野~.~ 
</td></table> 
 
 
效果 
[attach]365596[/attach] 
 
 
   附件: 您所在的用戶組無法下載或查看附件
 
 |