Solved

hyperlink problem.

Posted on 2002-05-17
3
140 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now