You are here: irt.org | FAQ | JavaScript | Timeout | Q334 [ previous next ]
You'll need to use a frameset which reloads one of the frames with another document:
<SCRIPT LANGUAGE="JavaScript"><!--
function loadOne() {
window.frames[0].location.href = 'apage.html';
setTimeout("loadTwo()",5000);
}
function loadTwo() {
window.frames[0].location.href = 'bpage.html';
setTimeout("loadThree()",5000);
}
function loadThree() {
window.frames[0].location.href = 'cpage.html';
}
setTimeout("loadOne()",5000);
//--></SCRIPT>