Countdown Timer 2 | JavaScriptSource

Countdown Timer 2

Sandeep Gangadharan Nov 22, 2006

General

This countdown script prints directly to the page, displaying the time left in minutes and seconds. The time duration can be set in the script. The timer will automatically stop when the time reaches 00 minutes and 00 seconds.


Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: countdownTimer


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(7 comments)

It seems to work fine for me using FF 2.0.0.3.

Lee May 25, 2007

this DOESNT work in Firefox 2.0x....

jon Apr 14, 2007

I agree with Fahmiadini, that it is not possible to ctrl-z or undo changes in a text area when using this script, however the timer works fine for me in both firefox as well as IE.

Travis Feb 23, 2007

i cannot undo (ctrl-z) in my form element like in textbox if i insert this code.. i think this cause by set into innerHTML.. i try to set the value also cannot work.. And one more thing is, it works on firefox but not in IE.. anyone had solution for this issue?

Fahmiadini Feb 13, 2007

Hi[p]I'd like to try something similar to Donna...[p]is it possible to automatically send a preformatted email on expiry of timer?[p]Thanks

Marvin Dec 5, 2006