...

View Full Version : HTML SELECT hides DHTML dropdown menu



javaCoder
04-11-2005, 10:20 AM
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.

jbot
04-11-2005, 10:56 AM
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.

javaCoder
04-11-2005, 02:11 PM
Thanks... this is really helpful. I'll look into the changes you suggest.

glenngv
04-11-2005, 02:18 PM
http://www.codingforums.com/showthread.php?s=&threadid=28261



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum