Categories:

Home / Free JavaScripts / Other / Here

Cut & Paste Auto refresh page with timer

Credit: JavaScript Kit

Description: This script (perceptually) refreshes a webpage, after the specified amount of time. "Why use JavaScript to do that, when I could accomplish the same thing using the <meta http-equi='refresh'> tag?", you ask. Simple. Because that tag certainly won't display in the scroll bar the time remaining until the page refreshes, as with this script!

Example:

Directions: Simply copy the below into the <head> portion of your page:

Change the time for each refresh by configuring variable "limit" in the script.


JavaScript Tools:
Site Info

CopyRight 1998-2012 JavaScript Kit. NO PART may be reproduced without author's permission.