Solved

Refreshing frameset - F5

Posted on 2001-07-02
2
505 Views
Last Modified: 2008-03-06
I have a frameset "default.asp" with 4 frames (corner,top,left,main) using IE5

I have a menu in the left frame. All my links have for target the main frame. When I use Hyperlink to pages within the site everything works fine and I am able to use the menu.
As soon as I link to an external page, the external page is displayed in the main frame but the menu is no longer working.

All menu items have an OnClick event that I can use.

What I would like is to trigger the F5 command to reload the frameset as it is the only way I can unbable the menu again. If there is a better solution please tell me ASAP.

Thanks for your help,

Emmanuel
0
Comment
Question by:EmmanuelJ
2 Comments
 
LVL 22

Accepted Solution

by:
CJ_S earned 100 total points
ID: 6245034
How are you setting the contents page? using target, or using a script? if you are using a script, please adjust that toa plain target:

<a href="page.htm" target="contentsframename">

regards,
CJ
0
 

Author Comment

by:EmmanuelJ
ID: 6245147
I actually find a solution:

on the onClick event I have attached:

top.location.reload()

this will reload the frameset and re-activate all menus.

Thansk
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

839 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