help

I entered February 27th at 5:00:00 p.m.....why doesn't it work??

Please help!!
 
Testing your script

<Script language='Javascript'>var rndNum = Math.floor(Math.random() * 10000);eval("var CDTDate" + rndNum + " = 'February 27, 2004 5:0:0 PM EST';");document.writeln("<form name='CDTform" + rndNum + "' action='Javascript:void(0);'>");document.writeln('<font size=2 color=purple>Countdown to Paradise!! <img src="images/smilies/sunny.gif" border="0" alt=""></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 = 'Wish you were 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><br />
<br />
 
Sandy:

Look in your signature at the script. Here's what the source code says you've got:

February 27, 2004 null:null:null PM EST

Those nulls shouldn't be there. Is that the way the code is being generated for you? If so is the clock on your computer working right?

You might try changing the code. Generate it again. Have you tried the preview function? Is it working there OK.

If the code is being generated with the nulls, then you might try editing it to read:
February 27, 2004 5:00:00 PM EST

and see if that previews OK. If it does, then paste it in your signature.

If the previews are working but it's not working in your signature, then there's something else funny going on. You might PM Jim and ask him to have a look.

Bill
 












Receive up to $1,000 in Onboard Credit and a Gift Basket!
That’s right — when you book your Disney Cruise with Dreams Unlimited Travel, you’ll receive incredible shipboard credits to spend during your vacation!
CLICK HERE







New Posts





DIS Facebook DIS youtube DIS Instagram DIS Pinterest DIS Tiktok DIS Twitter DIS Bluesky

Back
Top