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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    HTML SELECT hides DHTML dropdown menu

    Hi,

    I have DHTML dropdown menus that work very well, except when the menus drops down "over" a html SELECT element. Then the select item is displayed in front of the drop down menus and hides part of the menus. All other normal html elements seem to work fine - I also get the dropdown menu in the front.

    Any ideas why this goes wrong with a select element?

    Thanks.

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by javaCoder
    Any ideas why this goes wrong with a select element?
    selects always have the highest z-index which puts them in top of everything else. what you can do is put them into other divs and then hide those divs whenever the menu is displayed.
    *keep it simple (TM)

  • #3
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks... this is really helpful. I'll look into the changes you suggest.

  • #4


  •  

    Posting Permissions

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