PDA

View Full Version : seeing if countdown works..


sum41gurlie0270
03-28-2004, 02:58 AM
Check 1 2...check 1 2

sum41gurlie0270
03-28-2004, 03:00 AM
i think i finally figured it out..

beachladiie
03-28-2004, 11:05 PM
how do u make a countdown?

Verandah Man
03-29-2004, 06:54 AM
Originally posted by beachladiie
how do u make a countdown?


You can go here to get your Countdown Clock (http://psiklops.brinkster.net/CDTimers/CDTimerGen.htm)

rjones69
03-31-2004, 03:57 PM
<Script language='Javascript'>var rndNum = Math.floor(Math.random() * 10000);eval("var CDTDate" + rndNum + " = 'September 16, 2004 5:00:00 PM EST';");document.writeln("<form name='CDTform" + rndNum + "' action='Javascript:void(0);'>");document.writeln('<font size=2 color=red>Disney Wonder Here We Come!!! :bounce: </font><br>');document.writeln("<input type=text value='' size=40 name='WrittenByJamesMVenglarikII'>");document.writeln("</form>");if (theFunction) theFunction += "var d = new Date();";else var theFunction = "var d = new Date();";theFunction += "var c = new Date('" + eval("CDTDate" + rndNum) + "');";theFunction += "var diff = (c - d)/1000;";theFunction += "var days = Math.floor(diff / 86400);";theFunction += "var rem = diff - (days * 86400);";theFunction += "var hours = Math.floor(rem / 3600);";theFunction += "rem = rem - (hours * 3600);";theFunction += "var minutes = Math.floor(rem / 60);";theFunction += "rem = rem - (minutes * 60);";theFunction += "var seconds = Math.floor(rem);";theFunction += "if ((days < 0) | (hours < 0) | (minutes < 0) | (seconds < 0)) ";theFunction += "var out = 'We\\\'re outta here! ';";theFunction += "else ";theFunction += "var out = ' ' + days + ' days ' + hours + ' hrs. ' + minutes + ' mins. ' + seconds + ' secs.';";theFunction += "document.forms.CDTform" + rndNum + ".elements.WrittenByJamesMVenglarikII.value = out;";setInterval(theFunction, 1000);</Script>

weluv M&M
03-31-2004, 08:47 PM
Also testing my handy work:bounce: