Hello,

Does anyone have a code to change the iframe page to different page after an assigned number of seconds?

I have four other iframes and I am using a code to change them with one click as follows:

Code:
<script language="javascript"> 
function loadFour(iframe1URL,iframe2URL,iframe3URL,iframe4URL) 
{ 
parent.frame1.location.href=iframe1URL 
parent.frame2.location.href=iframe2URL 
parent.frame3.location.href=iframe3URL 
parent.frame4.location.href=iframe4URL 
} 
</script>
That works fine for that part. But have 2 other iframes, and one of them I would like to automatically change the iframe page (page1.html to page2.html to page3.html etc.) after 5 seconds for each page.

Can anyone please help me?

Also, can that still be done if it is added as a 5th iframe in the script above?