Timer: Invoke callback functions periodically

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-10-27 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 340 This week: 1All time: 90 This week: 41Up
Version License JavaScript version Categories  
timer 1GNU General Publi...1.0Time and Date, Events
Description Author  

This object can invoke callback functions periodically.

It is an enhanced version of the JSPoll object originally written by Kulcsár Zoltán's.

This version has a variable named currentTime that counts down from a starting value to 0 or forever.

It can also invoke a registered callback function when the time is up.

The displayTime function can show the remaining time inside a given page element.

Picture of Jeff Martin
Name: Jeff Martin <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 627 in United States United States
Week rank: 29 Up4 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file class.Timer.js Class The timer object
Accessible without login Plain text file timer.html Example Example that uses the timer to implement a sleep timer for external websites.

 Version Control Unique User Downloads Download Rankings  
 0%Total:340All time:90
 This week:1This week:41Up