frozenInk
11-02-2003, 11:20 AM
I am working on a page that shows stats of an event. I need the counter to count up by 11 for every second. Does anyone have something like this?
Thanks for any help!!!
Thanks for any help!!!
|
Click to See Complete Forum and Search --> : Need script for counter to count up by 11 for every one second frozenInk 11-02-2003, 11:20 AM I am working on a page that shows stats of an event. I need the counter to count up by 11 for every second. Does anyone have something like this? Thanks for any help!!! Charles 11-02-2003, 08:58 PM <script type="text/javascript"> <!-- if (document.getElementById) { document.write('<p id="timer">0</p>'); setInterval("document.getElementById('timer').firstChild.data = Number(document.getElementById('timer').firstChild.data) + 11", 1000); } // --> </script> frozenInk 11-03-2003, 06:14 PM Thanks! Works perfect. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |