2
   

Refresh Page but not 'on top'

 
 
Reply Mon 20 Sep, 2004 07:43 am
Hello all,

I will try to explain my problem.

I want to load a page inside a frame and for the entire page to automatically refresh. (not just that frame)

However, I have two problems:

1. The page that I load inside that frame is not a page that I made myself. I want to load , for example, www.yahoo.com into there. However, when I click one of the links on that yahoo page, I still want it to load into that same frame and to keep that refreshing routine.

2. Whenever it refreshed the main page (containing the frame) I do not want it to go to 'top'. Whenever I have other browser windows open, when I use the meta refresh command, it will put that window on top of the others. I do not want that. I want it to refresh in the background, so to speak.

I am not sure if this all can be done by the meta refresh command, perhaps there is a java script routine?

Thanks in advance.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 2 • Views: 3,647 • Replies: 3
No top replies

 
Craven de Kere
 
  1  
Reply Mon 20 Sep, 2004 05:53 pm
Your request is unclear. Do you want the framed document to refresh?

The whole frameset to refresh?
0 Replies
 
Cerberus
 
  1  
Reply Tue 21 Sep, 2004 06:10 am
Clarification
I'd like for that frame to keep refreshing; no matter whether I click a link in there or not.

The moment I would click one of the links, I want that page to load into that frame, effectively replacing the old page. The refreshing should still continue though.
0 Replies
 
Craven de Kere
 
  1  
Reply Thu 23 Sep, 2004 12:36 am
Yahoo has code to break out of frames, and there's nothing you can do about that.

But the basic code to refresh a particular frame (assuming it is launched from another frame in the frameset) is:

parent.FRAMENAME.location.reload();
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. » Refresh Page but not 'on top'
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/18/2024 at 07:03:37