View Full Version : Script that reloads a page every 5 minutes?

01-14-2007, 11:59 AM
Can someone help me out with a fairly simple scipt? I am looking for a script that reloads the same window (that it opened) every 5 minutes. Can anyone help with that. When the page opens I want it to open a new window.. Then reload that window 1 every 5 minutes.

Philip M
01-14-2007, 01:28 PM
Try this:-

<script language="JavaScript">
if (document.images) {
setTimeout('location.reload(true)',1000*60*5); // 5 minutes delay
else {
setTimeout('location.href = location.href',1000*60*5);