Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
ixfd64

my Doom 3 countdown

Recommended Posts

here

Here is the source code used:

<head>

<title>Countdown to Doom 3 release</title>
<script>

<!--
// JavaScript Source File -- Created with NetObjects ScriptBuilder
// Category:    Date and Time
// AUTHOR:      Maxim V. Kollegov, All Rights Reserved.
//              http://geocities.com/SiliconValley/Lakes/8620
//              Modified with permission by Joe Hage - Team ScriptBuilder
//              Feel free to reuse this code provided you include this
//              AUTHOR section in your pages.
// DESC:        Display a ticking countdown clock on your web page.

var eventdate = new Date("August 3, 2004 00:01:00 CST");

function toSt(n) {
  s=""
  if(n<10) s+="0"
  return s+n.toString();
}
 
function countdown() {
  cl=document.clock;
  d=new Date();
  count=Math.floor((eventdate.getTime()-d.getTime())/1000);
  if(count<=0)
    {cl.days.value ="----";
     cl.hours.value="--";
     cl.mins.value="--";
     cl.secs.value="--";
     return;
   }
  cl.secs.value=toSt(count%60);
  count=Math.floor(count/60);
  cl.mins.value=toSt(count%60);
  count=Math.floor(count/60);
  cl.hours.value=toSt(count%24);
  count=Math.floor(count/24);
  cl.days.value=count;    
  
  setTimeout("countdown()",500);
}
// end hiding script-->

</script>
</head>
<body onLoad="countdown()">

<center>
<font size=5>Countdown to Doom<sup>3</sup> release
</font><br><br>
<font size=3>Target time: 3rd August, 2004 00:01 CST<br><br>
<b>This uses your computer's clock, so make sure it's accurate!</b><br><br>
Find the current official time <a href=http://time.gov>here</a>.</font>


<form name=clock>

<table border=2 cellspacing=0 cellpadding=5>

<tr>
<td align=center width=70><b>Days:</b></td>
<td align=center width=50><b>Hours:</b></td>
<td align=center width=50><b>Mins:</b></td>
<td align=center width=50><b>Secs:</b></td>
</tr>

<tr>
<td align=center><input name=days size=4></td>
<td align=center><input name=hours size=2></td>
<td align=center><input name=mins size=2></td>
<td align=center><input name=secs size=2></td>
</tr>

</table>
</form>
"It is inevitable." - Agent Smith, <i>Matrix Reloaded</i>
</center>


</body>

Share this post


Link to post

Oh, beat you to it, slow-boy!! LOLOLOLOLOLOLOLOLOLOL WOOOOOOOO

Uh oh, did I just hear something about the USS Enterprise off in the distance? It's getting closer...

Share this post


Link to post

Wow, 11 days -- really puts it into perspective. It's SO attainable. Yay.

Share this post


Link to post

Whoa, that UAC site really 0wnz!

I've never seen such a cool game site lol.

Share this post


Link to post

The countdown would go on my active desktop if I could remove that fucking annoying background noise.

Share this post


Link to post

For those annoyed by the sound just make the background image your wallpaper. Then add "www.ua-corp.com/nosound.html" as a desktop item. All credit for this idea goes to some guy on planetdoom who did it a few days ago

Share this post


Link to post

I think I would go insane if I had a countdown to DOOM 3 as my desktop for ten days. :)

Share this post


Link to post

Incredibly long unbroken sentence moving from topic to topic: quite hypnotic.

Share this post


Link to post
rodent said:

For those annoyed by the sound just make the background image your wallpaper. Then add "www.ua-corp.com/nosound.html" as a desktop item. All credit for this idea goes to some guy on planetdoom who did it a few days ago


Woah, thanks. It's my wallpaper now.

Oh yeah

THERE ARE FOUR LIGHTS!

Share this post


Link to post

Heh, the clock on the UA-Corp site is off by 1.5 seconds or so (I know because my computer is on Greenwich Meantime exactly) ;).

Share this post


Link to post

Err it's flash, how did you guys make it your wallpaper?

By the way, I've been thinking... the first duty of every starfleet officer is to the troop. Agree/disagree? Post your thoughts here.

Share this post


Link to post

You have to make it an Active Desktop object. Then active desktop treats the html page and its contents as an object on your desktop

Share this post


Link to post
Scuba Steve said:

Woo 11 days untill Action Doom's release. I mean Doom 3.


WOULD YOU SHUTUP ABOUT ACTION DOOM THAT WAD/CONVERSION SUCKS!!!!!!!!!!!!!!!!!!!!!!!!!! :D

Share this post


Link to post

For those not wanting sound on the UAC Website:
http://www.ua-corp.com/nosound.html

Also, to have this on your website (using Windows XP):
1. Right Click Desktop, Click Properties, Click the "Desktop" Tab.
2. Click on on the Customize Desktop button.
3. Click the "Web" Tab
4. Click the "New..." Button
5. Type in the internet address (url) and click OK.
6. Click OK. If everything goes fine it should synchronize.
From there, you can make it fullscreen, in a window, or whatever.

Hope this helps!

- Damon

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×