Tor
|
Posted: 11/12/2003, 4:22 AM |
|
I've built in a java dropdown menu in my project. It works fine with one exception. When dropdown menu meets a CCS listbox, the listbox appers in front of the menu. I have tried to set the Z-value of the listbox to 0; but that don't solve the problem.
Any ideas what to do ?
Best regards,
Tor Valen
|
|
|
Darren
|
Posted: 11/12/2003, 6:09 AM |
|
It is a standard problem in Internet Explorer unfortunately. Listboxes are created as a window control and always take priority.
There are basically two workarounds - one is to put the listbox in a layer and set it to style = "display:none" when the dropdown menu is activated. The other is more complex and involves putting an IFrame on the page that is dynamically moved under the dropdown list when it appears (newer dhtml menus tend to incorporate this, such as the one from http://www.coalesys.com/)
Darren.
|
|
|
|