Solved

Frame Refresh

Posted on 2004-08-25
4
247 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
  • 2
  • 2
4 Comments
 

Author Comment

by:Laride
Comment Utility
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
Comment Utility
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
Comment Utility
I see, makes sense.

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

Expert Comment

by:Ayesha_K
Comment Utility
:D sure ...

thanx for the A again ;)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now