Mitzrah's Get IT Right Column!!
Message changes with Time
Updated : Friday, August 07, 1998

Mitzrah's Get IT Right Column!

This is quite a cool piece of JAVA, it will change depending on the time of day! And the best thing is you can add your own comments and specify what is says during the hours. Go have fun with this:

<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 ]
[ WWW Resources | HTML Tutorials | Hints & Tips | Banner Exchange ]
[ Awards | Win My Award | Home | Links | Change Music | E-Mail Me ]

Back to where you came from!

LinkExchange Network
LinkExchange Member Free Home Pages at GeoCities