Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2003
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?

  • #2
    Regular Coder COBOLdinosaur's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    400
    Thanks
    2
    Thanked 30 Times in 30 Posts
    <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&


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •