jQuery Timer Demo
Download • View on Github • View Demo Source • Old Google Project Site
Example 1 - Stopwatch
00:00:00
Example 2 - Countdown Timer
05:00:00
Example 3 - Slideshow (preserves time remaining when paused)
Example 4 - The Basics (just a suped-up version of setTimeout)
timer has been executed 0 times.
var count = 0; var timer = $.timer(function() { $('#counter').html(++count); }); timer.set({ time : 1000, autostart : true });