Mitzrah's Get IT Right Column!! Message changes with Time Updated : Friday, August 07, 1998 |
![]() |
- The bluish bits you can change yourself!
- Don't alter the orange ones ok?
- If you feel confident you can change the hours and add more parameters be very careful ok?
<SCRIPT LANGUAGE="JavaScript">
<!--
var mess1="";
var outmess= " "
document.write("<center><font
size=+1><i><b>")
day = new Date( )
hr = day.getHours( )
if (( hr >= 0 ) && (hr <= 8 ))
mess1= "It's early and you should be sleeping at the moment!!!
But hey! It's good for surfin'"
if (( hr >= 8 ) && (hr < 12))
mess1=" Good morning man, I dunno about you, but I have got
LECTURES to go to! :( "
if (( hr >= 12) && (hr <= 14))
mess1= "Hey have you eaten your lunch yet? Huh? "
if (( hr >= 14) && (hr <= 17))
mess1= "Time for a quick afternoon nap, yes please!?
"
if ((hr >= 17) && (hr <= 20))
mess1= "Time for dinner now, go eat something ok? "
if ((hr >= 20) && (hr <= 23))
mess1= "Hrm.. TV is good or surfing? SURFIN'! "
document.write("<blink>")
document.write(mess1)
document.write("</blink>")
document.write(outmess)
document.write("</b></i></font></center>")
//--->
</SCRIPT>
Notes from Alex:
If you found my tutorial helpful, please drop a note by my guestbook! So I know that you have dropped by and benefitted from my efforts, it took me quite sometime to get these tutorial up! Click on home and then SIGN GUESTBOOK! I will also visit your homepage at GeoCities and sign your guestbook if you sign mine!
[ Emiri Nakayama | Sailor Mars, Rei | About Me | Photo Gallery ] |
![]() |
![]() |
LinkExchange Member | Free Home Pages at GeoCities |