Solved

Frame Refresh

Posted on 2004-08-25
4
249 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Set email body to html using vbscript 6 41
Converting dates in JavaScript 2 32
Change Background Color of Website 5 16
Select case on click 3 13
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.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

806 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