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)">
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 638 • Replies: 3
No top replies

 
Craven de Kere
 
  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
 
Craven de Kere
 
  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
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » Frame url loader??
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.23 seconds on 01/19/2025 at 02:33:40