Help - Search - Members - Calendar
Full Version: a program that counts down time
MSFN Forums > Customizing Windows and Graphics > Customizing Windows

   
Google Internet Forums Unattended CD/DVD Guide
sven
i want to know if there is a program that can show a count down until a specified date. if possible, one that can show 2 or 3 at the time
maxXPsoft
See if this will work.
Countdown Timer II v3.4
FthrJACK
Also VERY easy to make your own. you dont need to be some uber programmer to do it, i think thats one of the most basic of tutorials for most programming environments out there.
sven
ok, ill look fthrJACK. thanks maxXPsoft
gamehead200
If you want HTML, here is a Javascript program that you can use as an Active Desktop object! newwink.gif

CODE
<script LANGUAGE="JAVASCRIPT">
<!-- hide this script tag's contents from old browsers

today = new Date();

BigDay = new Date("August 27, 2003")
msPerDay = 24 * 60 * 60 * 1000;
timeLeft = (BigDay.getTime() - today.getTime());
e_daysLeft = timeLeft / msPerDay;
daysLeft = Math.floor(e_daysLeft);
e_hrsLeft = (e_daysLeft - daysLeft)*24;
hrsLeft = Math.floor(e_hrsLeft);
minsLeft = Math.floor((e_hrsLeft - hrsLeft)*60);
secsLeft = Math.floor((hrsLeft - minsLeft)*60);
document.write(" <font class='countdown'>" + daysLeft + " day(s), " + hrsLeft +" hour(s), " + minsLeft +" min(s) TEXT HERE TEXT HERE");

// -- done hiding from old browsers -->
</SCRIPT>
FthrJACK
Nice going Gamehead! smile.gif
gamehead200
QUOTE (FthrJACK @ Nov 25 2003, 06:31 PM)
Nice going Gamehead! smile.gif

Thanks... smile.gif I've had it on my site for a while... I haven't updated it for a while, and now its going into negative numbers, lol! laugh.gif
sven
how would i make it an active desktop item

( no.gif im not a complete id***, some parts are missing :/ )
gamehead200
QUOTE (sven @ Nov 27 2003, 08:49 PM)
how would i make it an active desktop item

( no.gif im not a complete id***, some parts are missing :/ )

Didn't say you were... laugh.gif

Display Properties>Desktop>Customize Desktop...>Web Tab

...Customize it there! laugh.gif
sven
ok, thanks, and i was joking about that

edit: but now all my icons have a grey outline and stuff

Post edit: nevermind, fixed it
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.