Login   Register  
Icontem

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 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 335 All time: 86 This week: 106Down
Version License JavaScript version Categories  
timer 1GNU General Public Lice...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: 537 in United States United States
Week rank: 51 Up5 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:335All time:86
 This week:0This week:106Down