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 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 350 All time: 107 This week: 12Up
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.

Name: Jeff Martin <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 708 in United States United States
Week rank: 51 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  
This week:0
All time:107
This week:12Up