Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Frame Refresh

Posted on 2004-08-25
4
Medium Priority
?
253 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 200 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

722 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