View Single Post
Old June 23rd, 2004, 09:56 AM   #91
raveDave
Hullaboarder
towerball Champion! High Score: 6380  Spy Hunter Champion! High Score: 12470  Roulette Champion! High Score: 58500  Flash Poker Champion! High Score: 50100 
 
raveDave's Avatar
 
Join Date: Jan 2004
Location: Detroit Rock City!! No seriously we have really cool rocks here!!!
Journal Entries: 21 View Users Journal
Actually, I did write the following into a txt file and save it as html:

<html>
<head>
<title>Countdown To Birthday Funtopia 7!!!</title>

<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top">

<FONT COLOR="#0000FF">

<p></p>

<CENTER>

<p align="center">&nbsp;<script language="JAVASCRIPT">
<!-- hide this script tag's contents from old browsers-->
today = new Date();
BigDay = new Date("July 3, 2004 21:00")
msPerDay = 24 * 60 * 60 * 1000 ;
timeLeft = (BigDay.getTime() - today.getTime());
e_daysLeft = timeLeft / msPerDay;
daysLeft = Math.floor(e_daysLeft);
e_hrsLeft = (e_daysLeft - daysLeft)*24;
hrsLeft = Math.floor(e_hrsLeft);
e_minLeft = (e_hrsLeft - hrsLeft)*60;
minsLeft = Math.floor((e_hrsLeft - hrsLeft)*60);
secLeft = Math.floor((e_minLeft - minsLeft)*60);
document.write( "<b><font size=8 color=red>Birthday Funtopia 7 is coming in just<BR> "+daysLeft+" d: "+hrsLeft+" h: "+minsLeft+" m: "+secLeft+" s</b></font>" );
// -- done hiding from old browsers -->
</script> <br>
</td></tr></table>

</body>
</html>


I tried to put it all into a function that would call itself every half-second, but my html is really rusty. And yes, I'm a robot.
__________________
Use your mind
to travel to a distant time
to the land of phat beats
and basslines.
______________________
Pure Rave = .crash.
raveDave is offline