tim_ver
08-04-2005, 12:33 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"frame1" and the bottom frame "frame2" I want the top "frame1" to have an image and the code in it, and then the url to reload in the bottom frame "frame2" 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 the same page and only once, I figured this is why I need the frames so it loads in the bottom frame each time. I also would like a small hit counter in the top frame that shows how many times it has refreshed the page. Thanks. 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)">
I have a webpage with two frames a small top frame"frame1" and the bottom frame "frame2" I want the top "frame1" to have an image and the code in it, and then the url to reload in the bottom frame "frame2" 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 the same page and only once, I figured this is why I need the frames so it loads in the bottom frame each time. I also would like a small hit counter in the top frame that shows how many times it has refreshed the page. Thanks. 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)">