Solved

hyperlink problem.

Posted on 2002-05-17
3
171 Views
Last Modified: 2010-04-09
HI expert,

I have two frames "main" and "menu". By click on one link
on the "menu" frames, I want both "main" and "menu" be updated. How can I do that.


I tried something like:

<a href="front_page.html" target="main" href="enu.html" target="menu" > Home </a>


But not work.


Please give me your suggestion.


Thanks
0
Comment
Question by:zouwei
[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
  • 3
3 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 7016423
<a href="#"
  onClick='top.main.location="front_page.html";top.menu.location="enu.html";return false;'> Home </a>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 7016428
or, if these are not top level frames ...


<a href="#"
  onClick='parent.main.location="front_page.html";parent.menu.location="enu.html";return false;'> Home </a>
0
 
LVL 33

Accepted Solution

by:
knightEknight earned 100 total points
ID: 7016429

... and if the link is in the "menu" frame, this will also work:

<a href="enu.html"
 onClick='top.main.location="front_page.html";return true;'> Home </a>
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

724 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