How do I make a pull down menu like one at this site

Discussion in 'HTML & Website Design' started by originalthechad, Feb 7, 2007.

  1. #1
    How do I make a pull down menu like one at this site www.ifroggynetwork.com
     
    originalthechad, Feb 7, 2007 IP
  2. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you mean the select that starts with "Network Websites"? If so then it's a simple <select> with <option> that have a javascript assigned to them onchange.
     
    crazybjörn, Feb 7, 2007 IP
  3. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #3
    Here's a working code. Edit to add your links/website pages etc.
    ------------
    <script type="text/javascript">
    <!--
    function GOE()
    {
    location=
    document.E.SE.options[document.E.SE.selectedIndex].value
    }
    -->
    </script>
    <form name="E">
    <select name="SE" OnChange="GOE()" style="background: #000066; color:

    #FFFFFF;">
    <option value="">-----------------</option>
    <option value="http://www.google.com"> Google </option>
    <option value="http://www.live.com"> Live </option>
    </select</form>
    ---------------------

    Change the "value" in "option" tags. Add more, or edit these whatever...
    Bye :)
     
    JEET, Feb 8, 2007 IP
    sawz likes this.
  4. ZeRo_CoOl

    ZeRo_CoOl Peon

    Messages:
    635
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks Jeet, I will try that
     
    ZeRo_CoOl, Feb 8, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ah, Patrick O'Keefe's Web network (he's a forum moderator over at SitePoint - you can find him by looking for iFroggy).
     
    Dan Schulz, Feb 9, 2007 IP