Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Loading two frames in one link.

Posted on 1999-08-30
10
Medium Priority
?
183 Views
Last Modified: 2010-04-09
I am working on a page which is divided into two frames.  On the left is a menu frame and on the right is the content.  I have multiple sections to the site and had to break it up into sub-sections.  I have done this by creating multiple menu pages.  There is a main menu which links to the sub-menus.  The sub-menus link to the content pages.

Here is my problem.  When I want to load a content page from a different menu, I want to load the menu frame that goes with it as well.  This would mean that one link would actually link to two pages (one for the content page and one for the menu page).  Is there a way to do this?  If so, how?
0
Comment
Question by:lcoombes
[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
10 Comments
 
LVL 5

Expert Comment

by:andriv
ID: 1853809
Not sure if this will work but give it a shot.
<IMG SRC="menu.html" target="left"><img src="content.html" target="right">link</a>/</a>
0
 
LVL 5

Expert Comment

by:andriv
ID: 1853810
Correction I meant <A href= on both not img src.
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 1853811
A href='javascript:;' onClick='top.menuframe.location="menu1.htm";top.mainframe.location="main.htm";return(false);'>Click Me</a>

... where your frames are named "menuframe" and "mainframe"
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 33

Expert Comment

by:knightEknight
ID: 1853812
oops, left out the "<" above:

<A href= ...
0
 

Expert Comment

by:avtonet
ID: 1853813
Try it with the easy way:
First, create your TARGET page, which is created with 2 frames: MENU and CONTENT.

Then just link your "DIFFERENT MENU" page to your TARGET page, and here you go ! It works just fine, I'm sure !

0
 
LVL 33

Expert Comment

by:knightEknight
ID: 1853814
???
0
 

Author Comment

by:lcoombes
ID: 1853815
avtonet, I had already thought of this method, but would be forced to make a lot of little target pages which would cause the administration of the site to get out of hand.  Thanks for the thought though!

andriv,  your idea was the first thing I tried.  Unfortunately, it does not work.

knightEknight, Your solution worked perfectly!  Please post it as an answer so I can give you the points!  Thanks!
0
 

Expert Comment

by:venkat_rs
ID: 1952041
You can either try what knightEknight has suggested or instead of trying to load 2 pages, you can just load a single page, containing 2 frames (menu and content) in the parent window. I feel this should be handled by some script.
0
 
LVL 33

Accepted Solution

by:
knightEknight earned 400 total points
ID: 1952159
Glad I could help!
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6817769
Fixed the -1 problem on this question.
All points have been verified. Experts will now get the points you originally tried to award.
Moondancer
Moderator @ Experts Exchange
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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 …
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…

660 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