Ask the Expert

Having a problem with JavaScript in FrontPage 2002

I am using an inline frame to make a menu, made with FrontPage 2002, and I am using a JavaScript script to control where the links take the user. The problem is, just as a normal frame, when I tell the script to go to a location with either window.navigate or location.replace, I am only taken to that page within the frame that calls it. What I am looking for is a way to have the entire page, not just that inline frame, go to the page I am looking for.

    Requires Free Membership to View

Make sure you include the target="_top" in the HREF. For example:
<a href="http://www.searchwin2000.com" target="_top">SearchWin/MSJ</a>

This was first published in June 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: