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 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Location
    Lagos,Nigeria
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    need help with drop down list menu

    i need help on designing a drop down list menu. this rolls down and shows other list of options to click on. i work in dreamweaver so javascripts and others can be incorporated.
    thanks all

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,302
    Thanks
    203
    Thanked 2,562 Times in 2,540 Posts
    Quote Originally Posted by eazie View Post
    i need help on designing a drop down list menu. this rolls down and shows other list of options to click on. i work in dreamweaver so javascripts and others can be incorporated.
    thanks all
    This is simply HTML. Example:-

    Code:
    <select id="selList" >
    <option value = "">Choose a colour</option>
    <option value = "Red">Red</option>
    <option value = "Blue">Blue</option>
    <option value = "Green">Green</option>
    <option value = "Yellow">Yellow</option>
    </select>
    Another Screambeaver user!

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,596
    Thanks
    80
    Thanked 4,631 Times in 4,594 Posts
    I think he is asking for a multi-level menu.

    You know:
    Code:
    Products        People    Tools
       Hardware       Ann        Hammer
       Software       Bob        Screwdriver
                      Carl       Wrench
    Except that the drop downs don't show until the main menu item is selected.

  • #4
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,302
    Thanks
    203
    Thanked 2,562 Times in 2,540 Posts
    In that case, see the many possibilities at

    http://www.javascriptkit.com/demo3.shtml

  • #5
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,596
    Thanks
    80
    Thanked 4,631 Times in 4,594 Posts
    Most of the links on that page are broken.

    Not terribly useful if the code isn't there.

  • #6
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,302
    Thanks
    203
    Thanked 2,562 Times in 2,540 Posts
    Quote Originally Posted by Old Pedant View Post
    Most of the links on that page are broken.

    Not terribly useful if the code isn't there.
    I have advised WA.

    Meanwhile, this is OK:-

    http://www.javascriptkit.com/script/cutindex16.shtml

    and in particular:-

    http://www.javascriptkit.com/script/...plecombo.shtml
    which appears to be what is wanted here.

    Another good example is at:-

    http://www.felgall.com/jstip22.htm
    Last edited by Philip M; 10-30-2009 at 10:15 AM.

  • #7
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,596
    Thanks
    80
    Thanked 4,631 Times in 4,594 Posts
    Well, I still think he means multi-level menus, nothing really to do with <select>s, but if your interpretation is right, one of those should surely do the job.

  • #8
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,302
    Thanks
    203
    Thanked 2,562 Times in 2,540 Posts
    Quote Originally Posted by Old Pedant View Post
    Well, I still think he means multi-level menus, nothing really to do with <select>s, but if your interpretation is right, one of those should surely do the job.
    Or try

    http://www.dynamicdrive.com/dynamicindex1/indexc.html


  •  

    Posting Permissions

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