1. able2know
  2. » Frame url loader??
1
   

Frame url loader??

 
 
tim ver
 
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)">

  1  
Reply Wed 3 Aug, 2005 08:26 pm
Why do you want the script on one frame reloading the other? It's possible, and not too hard, but why the extra complication?
0 Replies
 
tim ver
 
  1  
Reply Wed 3 Aug, 2005 08:46 pm
...
I am new to this so sorry for the over kill. Can you post the script/template file?

Thanks
0 Replies
 
  1  
Reply Fri 5 Aug, 2005 04:44 pm
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.
0 Replies
 
 

 
  1. able2know
  2. » Frame url loader??
Copyright © 2008 able2know :: Page generated in 0.11 seconds on 12/02/2008 at 10:17:32 :: Active ingredients: LAMP, XHTML, CSS, JavaScript
Top End