Pages: 12

  2008-08-01 03:36:22

R-A-M-O-N-help
» FTalker
FTalk Level: zero
148
0
1969-12-31

[quote]this code will alert the viewer [b]good morning[/b] if the time on your computer is 12:00 below, [b]good afternoon[/b] if 12:00 am above and 6:00 pm below and [b]good night[/b] if 6:00 pm above

[quote]this code will alert the viewer [b]good morning[/b] if the time on your computer is 12:00 below, [b]good afternoon[/b] if 12:00 am above and 6:00 pm below and [b]good night[/b] if 6:00 pm above...hope you like this one... :arrow: put this code on your compile js...:thumbsdown: [spoiler]<!-- Begin datetoday = new Date(); timenow=datetoday.getTime(); datetoday.setTime(timenow); thehour = datetoday.getHours(); if (thehour >= 18) display = "[b]Good Evening[/b]"; else if (thehour >=12) display = "[b]Good Afternoon[/b]"; else display = "[b]Good Morning[/b]"; alert(display); // End -->[/spoiler] just edit the [b]bold[/b] part with your messages...:) [url=http://profiles.friendster.com/ramonhelp]PREVIEW[/url][/quote]

Last edited by R-A-M-O-N-help (2009-01-31 06:01:03)

Pages: 12

Board footer

© 2024 F Talk

Current time is 19:03

[ 12 queries - 0.017 second ]
Privacy Policy