Halo2 And Half-life2 Countdowns

BeastBeast Armonkyi Join Date: 2003-04-21 Member: 15731Members, Constellation
edited November 2004 in Off-Topic
<div class="IPBDescription">For those who are impatient (like me :D)</div> <a href='http://www.haxgames.com/countdown/countdowns.html' target='_blank'>http://www.haxgames.com/countdown/countdowns.html</a>
After some cutting and pasting and a bit of haxing, I got this countdown timer page set up <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
Now we can all stare at the page endlessly for the next 14 days and 8 hours.... o.o
Update: *has fixed page centering problems \o/*

Comments

  • BahamutBahamut Join Date: 2003-01-20 Member: 12522Members, Constellation
    ooh, prettttttyyyyyy...
  • Cereal_KillRCereal_KillR Join Date: 2002-10-31 Member: 1837Members
    Halo 2 has a cooler counter, so I don't like it.

    This thing relies on your system clock. Just advance it to Nov. 15th at 11:59pm for all your simili-party pleasures
  • BeastBeast Armonkyi Join Date: 2003-04-21 Member: 15731Members, Constellation
    <!--QuoteBegin-Cereal_KillR+Nov 1 2004, 02:47 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Cereal_KillR @ Nov 1 2004, 02:47 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Halo 2 has a cooler counter, so I don't like it.

    This thing relies on your system clock. Just advance it to Nov. 15th at 11:59pm for all your simili-party pleasures <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Is there a way of getting it so it relies on a more accurate timer? D:
  • SidSid Corwid of the Free Join Date: 2003-01-28 Member: 12903Members, Constellation
    Perhaps linking the timer to another timer on another site or something? XD
  • TychoCelchuuuTychoCelchuuu Anememone Join Date: 2002-03-23 Member: 345Members
    edited November 2004
    Here's some code: stick in in a .html file and use active desktop to embed it in your wallpaper. Edit: You can easily modify it to also display a Halo 2 countdown.

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1--><html>
    <head></head>
    <body>
    <script>
    var timerID = null;
    var timerRunning = false;

    function startClock() {
    stopClock();
    timeRemaining();
    }

    function stopClock() {
    if (timerRunning)
    clearTimeout(timerID);
    timerRunning = false;
    }

    function timeRemaining() {
    var now = new Date();                                
    var then = new Date(2004, 10, 15, 23, 59, 59);  
    var yearsLeft; var daysLeft; var hoursLeft; var minsLeft; var secsLeft;
    secsLeft = Math.round(then.getTime() - (now.getTime() + 1000)) / 1000;
    daysLeft = Math.floor(secsLeft / 86400);  
    secsLeft %= 86400;
    hoursLeft = Math.floor(secsLeft / 3600);      
    secsLeft %= 3600;
    minsLeft = Math.floor(secsLeft / 60);        
    secsLeft %= 60;
    secsLeft = Math.round(secsLeft);

    if (secsLeft == 60) {
     secsLeft = 0;
     minsLeft = minsLeft++;
    }

    if (minsLeft == 60) {
     minsLeft = 0;
     hoursLeft = hoursLeft++;
    }

    if (hoursLeft == 24) {
     hoursLeft = 0;
     daysLeft = dayssLeft++;
    }

    document.doomsday.total.value = (daysLeft + " days, " + hoursLeft + " hrs, " + minsLeft + " min, " +  secsLeft + " sec");

    timerID = setTimeout("timeRemaining()", 1000);
    timerRunning = true;
    }

    window.onload=startClock;

    </script>

    <form name="doomsday">Time Remaining: <input readonly="true" type="text" name="total" size="27" style="border: 0px; background-color: #EAEAEA; font-size: 10pt;"></form>
    </body>
    </html><!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
  • BeastBeast Armonkyi Join Date: 2003-04-21 Member: 15731Members, Constellation
    edited November 2004
    <!--QuoteBegin-TychoCelchuuu+Nov 1 2004, 03:01 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (TychoCelchuuu @ Nov 1 2004, 03:01 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Here's some code: stick in in a .html file and use active desktop to embed it in your wallpaper.  Edit: You can easily modify it to also display a Halo 2 countdown.

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1--> *code goes here! see above post! :D*<!--c2--></td></tr></table><div class='postcolor'><!--ec2--> <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    How do I change the font color in the form text box o.o?
    [edit] by adding "Color : #numberhere" - Thanks people on IRC <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo--> [/edit]
  • RandomEngyRandomEngy Join Date: 2002-11-03 Member: 6146Members, Reinforced - Shadow
    I like this countdown wallpaper better:

    <a href='http://www.futurefirefighter.net/Half-Life_2_Countdown_TransparentNumbers.rar' target='_blank'>http://www.futurefirefighter.net/Half-Life...rentNumbers.rar</a>
  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    <b><i><u>WEWT!</u></i></b> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
  • HibameHibame Join Date: 2003-11-16 Member: 22974Members, Reinforced - Shadow
    I would of though it was wiser to use the server clock
  • BeastBeast Armonkyi Join Date: 2003-04-21 Member: 15731Members, Constellation
    <!--QuoteBegin-Hibame+Nov 1 2004, 09:57 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Hibame @ Nov 1 2004, 09:57 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I would of though it was wiser to use the server clock <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    How does one get to the server clock?
  • HibameHibame Join Date: 2003-11-16 Member: 22974Members, Reinforced - Shadow
    <!--QuoteBegin-Beast+Nov 1 2004, 04:10 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Beast @ Nov 1 2004, 04:10 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Hibame+Nov 1 2004, 09:57 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Hibame @ Nov 1 2004, 09:57 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I would of though it was wiser to use the server clock <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    How does one get to the server clock? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    well if my php still is in my head...

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->date("\T\he \\t\i\m\e \i\s: H.i");
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    which will display the time from the server clock
  • SupernornSupernorn Best. Picture. Ever. Made. Ever. Join Date: 2002-11-07 Member: 7608Members, Constellation
    edited November 2004
    Looks good, But I've seen much better.

    Oh and whats Halo ?!??

    </HL2fanboyism>
Sign In or Register to comment.