Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-29-2003, 07:28 AM   PM User | #1
jena2k
New to the CF scene

 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
jena2k is an unknown quantity at this point
Making a Link go to 2 different links

I'm using 2 i-frames on an html page. The one i-frame is named "navigation" and the other is "main". I want the roll-over buttons in the "navigation" i-frame to link to a page that appears in the "main" frame and I also want it to link to the window its in, which is "navigation".

Heres the code:

<a href="audio.html" target="main" onMouseOver="MM_swapImage('audio','','images/navover_15.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/navigation_15.gif" alt="Audio" name="audio" width="54" height="22" border="0"></a>

Right now I only have it linking to the "Main" page. How would I add in the 2nd link to a page called "navigation.html" in the "navigation" frame?
jena2k is offline   Reply With Quote
Old 12-29-2003, 10:00 PM   PM User | #2
COBOLdinosaur
Regular Coder

 
COBOLdinosaur's Avatar
 
Join Date: Jul 2002
Location: Canada
Posts: 293
Thanks: 0
Thanked 18 Times in 18 Posts
COBOLdinosaur is an unknown quantity at this point
<a href="audio.html" target="main" onClick="location.href='navigation.html'" onMouseOver="MM_swapImage('audio','','images/navover_15.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/navigation_15.gif" alt="Audio" name="audio" width="54" height="22" border="0"></a>
__________________
100% standards compliant code is 100% correct 100% of the time.
one of my toys from my repository and perhaps some help getting help

Cd&
COBOLdinosaur is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:13 PM.


Advertisement
Log in to turn off these ads.