Count Up 2 | JavaScriptSource

Count Up 2

Michael Scholtis Sep 9, 2000
Another JavaScript stopwatch - this time it counts up and then alarms.

Timer-CountUp
Stop at

The JavaScript Source: Games: Count Up

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
2 comments)

Sure, just remove the button and add the following code to the end of the current code that you have:[br /][br /]// Multiple onload function created by: Simon Willison[br /]// http://simonwillison.net/2004/May/26/addLoadEvent/[br /]function addLoadEvent(func) {[br /] var oldonload = window.onload;[br /] if (typeof window.onload != 'function') {[br /] window.onload = func;[br /] } else {[br /] window.onload = function() {[br /] if (oldonload) {[br /] oldonload();[br /] }[br /] func();[br /] }[br /] }[br /]}[br /][br /]addLoadEvent(function() {[br /] Up();[br /]});

Lee Jan 16, 2009

Can this html code be easily modified to have the counter start automatic instead of having to click the start button?

Charlie Dalton Nov 25, 2008