Solved

Refreshing frameset - F5

Posted on 2001-07-02
2
504 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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…

809 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