With these scripts you can have a new page load after a set time. There are two ways to achieve this.
When the page loads. Or When a link is clicked.
To have a new page load after a set time when the initial page has loaded copy the following script into the <HEAD> section
<script type="text/javascript">
<!--
window.setTimeout( "Advance ()", 5000)
function Advance(){
location.href="your page.htm"
}
//-->
</script>
5000 is the time, in milliseconds, that the browser waits before opening the next page, and top.location="your page .htm"; is the page to be opened
Load a new page after a set time when a link is clicked.
<script type="text/javascript">
<!--
function startTime(url){
setTimeout("Advance ('"+url+"')", 5000)
}
function Advance(url){
location.href=url
}
//-->
</script>
<a href="yourpage.htm" onclick="startTime(this.href);return false">Your Link</a>
You can also use this script to load a new page after a set time when the initial page has loaded by adding onload="startTime('yourpage.htm')" to the opening <BODY> tag
You can automatically load a web page using the <META> tags in the <HEAD> section of your document.
To reload the document itself:
<HEAD>
<META HTTP-EQUIV=REFRESH CONTENT=5>
</HEAD>
CONTENT=5 means wait for 5 seconds to reload the page.
To load another page:
<HEAD>
<META HTTP-EQUIV=REFRESH CONTENT="5;URL=http://your page.htm">
OR
<META HTTP-EQUIV=REFRESH CONTENT="5;URL=your page.htm">
</HEAD>