Results 1 to 4 of 4
Test Messages Forum Discuss timer in the Technical Support forums; test timer...
  1. #1
    epcot man's Avatar
    epcot man is offline B-Ticket Holder
    Join Date
    Jul 2004
    Location
    uk
    Posts
    61

    timer

    test timer
    <Script language='Javascript'>var rndNum = Math.floor(Math.random() * 10000);eval("var CDTDate" + rndNum + " = 'september 9th 2004 9:09:04 AM EST';");document.writeln("<form name='CDTform" + rndNum + "' action='Javascript:void(0);'>");document.writeln(' <font size=2 color=darkred>clearing for take off :crazy: </font><br>');document.writeln("<input type=text value='' size=40 name='WrittenByJamesMVenglarikII'>");document.writ eln("</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 have lift-off';";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>

  2. #2
    epcot man's Avatar
    epcot man is offline B-Ticket Holder
    Join Date
    Jul 2004
    Location
    uk
    Posts
    61
    try again
    <Script language='Javascript'>var rndNum = Math.floor(Math.random() * 10000);eval("var CDTDate" + rndNum + " = 'september 9th 2004 9:09:04 AM EST';");document.writeln("<form name='CDTform" + rndNum + "' action='Javascript:void(0);'>");document.writeln(' <font size=2 color=darkred>clearing for take off :crazy: </font><br>');document.writeln("<input type=text value='' size=40 name='WrittenByJamesMVenglarikII'>");document.writ eln("</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 have lift-off';";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>

  3. #3
    epcot man's Avatar
    epcot man is offline B-Ticket Holder
    Join Date
    Jul 2004
    Location
    uk
    Posts
    61
    and again
    <Script language='Javascript'>var rndNum = Math.floor(Math.random() * 10000);eval("var CDTDate" + rndNum + " = 'september 9th 2004 9:09:04 AM EST';");document.writeln("<form name='CDTform" + rndNum + "' action='Javascript:void(0);'>");document.writeln(' <font size=2 color=darkred>clearing for take off :crazy: </font><br>');document.writeln("<input type=text value='' size=40 name='WrittenByJamesMVenglarikII'>");document.writ eln("</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 have lift-off';";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>

  4. #4
    Lou Mongello's Avatar
    Lou Mongello is offline Lou Mongello (AKQJ10) - WDW Trivia Book Author and Site Owner/Admin
    Join Date
    Jan 2004
    Location
    Orlando, FL
    Posts
    8,750
    EM, I'm working on fixing the smilies issue. Very cloise to the top of my to-do list when I get back
    Lou Mongello
    Host, Author & Site Owner
    AKQJ10 >: 4 8 15 16 23 42


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Featured Sponsors

<Mouse Fan Travel
Celebrations Magazine
All Star Vacations
Swan and Dolphin
Disney Expert Speaker Lou Mongello

© 2012 WDWRadio™ and Second Star Media™

Please note that WDW Radio, Lou Mongello, and Second Star Media are in no way part of, endorsed or authorized by, or affiliated with the Walt Disney Company or its affiliates. Visit Disney's official web site at Disney.com - As to Disney artwork/properties: © Disney - Disclosure.

Powered by vBulletin® Version 4.2.0
Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Content Relevant URLs by vBSEO 3.6.0 PL2