Icontem

Timer: Invoke callback functions periodically

Recommend this page to a friend!
  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 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 348 All time: 102 This week: 40Up
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

  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:348
This week:0
All time:102
This week:40Up