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
Solved

frames

Posted on 1998-02-02
2
264 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
2 Comments
 
LVL 1

Accepted Solution

by:
jello earned 200 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
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…

791 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