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
    Jul 2002
    Location
    Kihei, Hawaii
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Frame problems using dropdown menu w/ defined styles

    I'm trying to figure out how to set a target frame for a dropdown menu with defined styles. I have tried combining with other scripts but the links continue to load in the parent window. No author listed so I can't ask them. I appreciate any help people can give. (I am obviously NOT an accomplished programmer, so be gentle)


    WORKING PAGE:
    http://www.mauidesign.com/AOAO/

    ----------------------------------------------------------------
    SCRIPT:
    (In Header of Menu Frame)

    <SCRIPT language=JavaScript>
    // Courtesy of SimplytheBest.net (http://www.simplythebest.net/scripts...cript_101.html)
    <!--
    function goSelect(daform) {
    with(daform) {
    top.window.location=options[selectedIndex].value; // jump to that option's value
    }
    }
    //-->
    </SCRIPT>


    (In Body of Menu Frame)

    <select style="font-family: Arial, Helvetica, MS Sans Serif; font-size: 8pt; color: #FFFFCC; background-color: #003300" onchange="goSelect(this)" size="1" name="m">
    <option value="link2.html">ABOUT EKAHI
    <option value="link2.html">General Information
    <option value="link2.html">Village Map
    <option value="link2.html">Site Statistics</option>
    </select>

    ----------------------------------------------------------------

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You still need help with this?


  •  

    Posting Permissions

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