2
   

Refresh Page but not 'on top'

 
 
Post: # 918,291
View Profile Cerberus
 
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.
 
  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
 
Post: # 920,113
View Profile 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
 
  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

THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
how to earn money in internet - Discussion by rizwanaraj
There is no Wisdom in Crowds - Discussion by ebrown p
CSS Border style colors - Question by meesa
Parallel Processing in PHP - Discussion by alirizwan
 
  1. able2know
  2. » Refresh Page but not 'on top'
Copyright © 2009 Horizontal Verticals :: Page generated in 0.33 seconds on 11/28/2009 at 11:36:31 Top End