很多人都會放一些問候語在 blog 裡,這個每小時問候語就非常好用囉。
最頂第一行 font size=4 是字型大小
第五行 color=blue 是字顏色
所有中文字句中、可改寫喜歡的字句
最頂第一行 font size=4 是字型大小
第五行 color=blue 是字顏色
所有中文字句中、可改寫喜歡的字句
<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 點多了");
else if (hours <= 2) document.write("午夜 2 點丫");
else if (hours <= 3) document.write("已經午夜 3 點多了");
else if (hours <= 4) document.write("已經午夜 4 點多了");
else if (hours <= 5) document.write("早ㄚ! 5 點多了");
else if (hours <= 6) document.write("早ㄚ!6 點多了");
else if (hours <= 7) document.write("早ㄚ!已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 點");
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>
<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 點多了");
else if (hours <= 2) document.write("午夜 2 點丫");
else if (hours <= 3) document.write("已經午夜 3 點多了");
else if (hours <= 4) document.write("已經午夜 4 點多了");
else if (hours <= 5) document.write("早ㄚ! 5 點多了");
else if (hours <= 6) document.write("早ㄚ!6 點多了");
else if (hours <= 7) document.write("早ㄚ!已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 點");
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>
文章標籤
全站熱搜

請問這個無名能用嗎?
無名好像有字數限制的, 我也不清楚可不可以用在無名喔, 不過你可以試一下的說。
我帶走囉!謝謝提供~有空就來我家逛逛吧^ ^
歡迎帶走!有空就來坐坐囉^^
謝謝你噢~我帶走囉˙ˇ˙
歡迎帶走!有空就來坐坐囉^^
不好意思! 你的右鍵應該沒開吧! @@? 還是我電腦有問題?
我想應該是你的電腦問題吧, 因為我沒有鎖右鍵的, 如果右鍵沒有開的話, 其他人也不可能把語法帶走吧, 我看樓上留言的朋友也沒有這個問題。
這好酷喔
謝謝分享,打包了~
妳好 :) 第一次來,我喜歡你的部落格風格 :D 請不要放棄!雖然第一次來,但我想~你若放棄或離開 他們會很不捨+難過的 :P 所以,請別放棄。你說好嗎? :D --- 這個語法我第一看到,好像挺有趣的 請問可以帶回家玩嗎? 。.。
hi菲^^ 看到你的說話我內心突然有股暖流直入心臟 有時經營網誌真的會令人感到很累而又很無奈 所以我才會有放棄的念頭出現 ..* 不過有看到你們的安慰之後呢 這個念頭又再次收起來啦^^"(人就是矛盾的動物)
呵呵~的確。人真的很矛盾 但我想,人最需要的是溫暖與關切吧? :D 我也有陣子跟你一樣,心情很低落,整個陷入低潮期(囧) 但只要一、兩位好朋友給你加加油、打打氣,多些鼓勵與關切 很快就會振作起來的 :D 我相信小BE也一樣,對唄^ .^/ --- 世界上沒有什麼不可解決的問題(雖然我不知道你的瓶頸在哪 ...QQ) 只要自己肯面對、努力去找尋解決方法,必會渡過的 :D --- 至於那些"口無遮攔"又無聊的人們 何必在乎他們說了什麼不堪入目的言語呢? 越是在乎,就越可能掉進他們設限的陷阱當中哦 只要自己行的正、坐的直(成語是這樣說,對吧@@a) 我們就可以理直氣壯地與那些"阿蛆"們抗鬥(怒氣100)XD --- 要開心過每一天哦 :D 笑容是上帝送給每個人最美好的禮物(我亂掰的~被巴XD)
hi菲^^ 你說得真好, 我越在意的話他就越得戚 所以現在我沒有把那人放在心上啦 而且我覺得自己網誌寫啥都是我自己的事 也沒必要去在乎他對我有啥意見或對我有沒有好感 ..* 自己過得開心就可以了吧^^ 可以做一些小作品分享出去都可以很開心的 不管他喜不喜歡我, 反正小be就是我嘛 開心一點人也健康一點喔(應該是這樣吧a_a)
沒錯的。 --- 不喜歡某人,就不要再跟那人有所接觸就好啦 (EX:我討厭"牠",現在也幾乎不去牠的部落格了 ... XD) 幹麻惡言相向地批評對方呢? 這樣抨擊對方,對他自己有啥好處呢? 合不來、看不順眼? 那就別來、別看呀。 那麼簡單 ... ... 對吧=D