Reply
Wed 3 Aug, 2005 12:08 am
I want to have a url load in the bottom frame of a page.
I have a webpage with two frames a small top frame and the bottom frame I want the top to have an image and the code in it, and then the url to reload in the bottom frame every 2mins. I have the banner image done but can not get the url to reload in the bottom frame. I had this code and it worked fine but loaded in another page and only once because it switch to the new page, help please.
Here is the code I have now.
<script language="JavaScript">
<!--
var time = null
function move() {
window.location = 'http://www.cnn.com/'
}
//-->
</script><body onload="timer=setTimeout('move()',200000)">
Why do you want the script on one frame reloading the other? It's possible, and not too hard, but why the extra complication?
...
I am new to this so sorry for the over kill. Can you post the script/template file?
Thanks
You can put this in the file that you want to refresh for the simplest solution:
Code:<meta http-equiv="refresh" content="2;url=http://pathtothefile.....">
It's a meta tag for the head section of the file.