Vakitlere Gore Değişen Mesajlar
Vakitlere Göre Değişen MesajlarÖnizlemesi:
<script>
//Time of day message Hakan-Fan
//Visit (http://hakan-fan.tr.gg) for script
var Digital=new Date()
var hours=Digital.getHours()
//Configure message below to your own.
if (hours>=5&&hours<=11) //message for morning
document.write('<b>Günaydın!</b>')
else if (hours==12) //message for noon
document.write('<b>Tünaydın</b>')
else if (hours>=13&&hours<=17) //message for afternoon
document.write('<b>İyi Günler!</b>')
else if (hours>=18&&hours<=20) //message for evening (6pm-8pm)
document.write('<b>İyi Akşamlar</b>')
else if (hours>=21&&hours<=11) //message for night (9pm-11pm)
document.write('<b>İyi Geceler!</b>')
else //message for late night, early morning(12pm-4am)
document.write('<b>Tatlı Rüyalar.</b>')
</script>