Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

frames

Posted on 1998-02-02
2
Medium Priority
?
274 Views
Last Modified: 2012-06-27
I have a frames based page with a navigation frame on the left (A) and my main content frame on the right (B).  I would like to work a particular link in the A frame so that, when clicked, it loads a new page in the A frame AND a new page in the B frame.  I would like to avoid any Java or VB
code.  How can I do this?
0
Comment
Question by:lugeas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
jello earned 800 total points
ID: 1842822
The solution is to have the link in frame A use the TARGET="_top" attribute to exit the frame set.  It should call a modified version of the page containing your original frameset.  This modified version should have the correct pages you want to load in both frames.  The code will look something like this:

ORIGINAL DOCUMENT IN NAVIGATION FRAME:
<A HREF="modified_frame.html" TARGET="_top">link</A>

MODIFIED FRAME PAGE:
<FRAMESET COLS="*,*">
      <FRAME NAME="A" SRC="new_nav_doc.html">
      <FRAME NAME="B" SRC="content.html">
</FRAMESET>

(don't foget any frame attributes you might want like scrolling or frame border, etc...)

Your browser's back button will recover the original scenario. If you want your users to return to the original navigation tools in the A frame, you may want to adjust your links in the B frame to call the original frameset document.

Hope this helps
-jello
0
 
LVL 2

Expert Comment

by:nebworth
ID: 1842823
 Geez, I gotta hit the books again...
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

610 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