Solved

Frame Refresh

Posted on 2004-08-25
4
252 Views
Last Modified: 2010-04-09
I have got a simple frame set. When I take a link from the top frame it loads my page in the middle frame. Nothing is happening in the bottom pane.

Great - all works exactly as I want it to.

However,  if I have navigated to say my contact page which is in view in the middle frame and I press refresh it re loads the opening home page back into my middle frame window! It does not do it on other frame sites I have written and I cannot see anything obviously different between one that does and one that does not.

Any ideas? I would like it to simply refresh the page that is currently being viewed.
0
Comment
Question by:Laride
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:Laride
ID: 11890376
I have cracked it - if my frame page is .asp it refreshes back to the home page, if is is .htm it refreshes the page open at the time!

Anybody tell me why? There's nothing in the code to tell it to redirect.
0
 
LVL 3

Accepted Solution

by:
Ayesha_K earned 50 total points
ID: 11890447
in frames ... each frame is considered as a different window ... and naturally when you refresh one window ... all other windows are NOT refreshed ... in case of asp ... the whole page having the frames tag is refreshed and created again by the server ... thats why it refreshes everything ...

you can try to refresh the other frames though javascript ...

try doing it by frameName.refresh() in javascript

paste your code for refreshing the page if this doesn't work for u
0
 

Author Comment

by:Laride
ID: 11890608
I see, makes sense.

Thanks again - we must stop meeting like this....
0
 
LVL 3

Expert Comment

by:Ayesha_K
ID: 11890644
:D sure ...

thanx for the A again ;)
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question