JavaScript Timer Class
Here is a little JavaScript Class which allows you to have timed function calls. Of course there could be different instances of these timers. Here is a example how to use it: var timer = new Timer( {’interval’:1000} ); timer.start( timedFunction ); function timedFunction(){ // called every 1000 milliseconds } The function timedFunction will [...]