Hello everybody again :-)
I'm wondering how to make an countdown clock at the easiest way? suggestions?
countdown clock
Started by Orjan, Sep 14 2008 11:57 AM
4 replies to this topic
#1
Posted 14 September 2008 - 11:57 AM
|
|
|
#2
Guest_Jordan_*
Posted 14 September 2008 - 03:57 PM
Guest_Jordan_*
Here is a quick and easy one: Countdown Timer Javascript
#3
Posted 20 April 2010 - 01:09 PM
I'm need to make a countdown clock as well. Can this be done using PHP?
#4
Posted 20 April 2010 - 03:34 PM
Not easily. You're better using javascript
#5
Posted 20 April 2010 - 04:06 PM
You can easily make something that counts up or down using the window.setTimeout() function. window.setTimeout() tells the interpreter to call a function after a certain number of milliseconds.
Something like that.
function countdown(){
count--;
document.getElementById('time').innerHTML = count;
window.setTimeout( "countdown()", 1000 );
}
Something like that.
Life's too short to be cool. Be a nerd.


Sign In
Create Account

Back to top










