To the best of my knowledge there is no workaround, it's a "feature" of
today's browsers. No amount of finagling z-indexes is going to help.  

A viable option that Microsoft implemented was to hide (as in hide the
layer) the select boxes whenever a menu came in contact with one, then to
unhide it when the menu was gone.  It's a little more trouble then it is
worth to implement and not the most reliable of solutions.

Just another reason not to use drop-downs on a web page actually. 
This stupid bug has been a thorn in my side before. :\  Shame really,
drop-downs nice for application development. 

Here's a link to one guys experience with this back in IE4 days. 
http://www.wdvl.com/Authoring/DHTML/Menus/des.html

-Chris Assenza

-----Original Message-----
From: John M. Corro [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 10:37 AM
To: [EMAIL PROTECTED]
Subject: OT: DHTML Menus and Form Objects


This is off topic from Struts, but I was wondering if anyone else has run
into this....

If you have one of those DHTML/JS pulldown menus, it'll get hidden behind
specific types of form objects (mostly select boxes).  I've scoured google
to see how to get around this and the only posts I've seen (that don't say
"you're SOL" - which is most of them) that have any constructive input say
to surround the form object w/ a div tag and to set the z-index property to
something very low, then to set your DHTML/JS menu to something very high.
The idea being that the form objects are assigned a lower z index than the
menu so the menu should display over all the form object elements.  

I've tried that w/ the following statement: <div style="z-index:1"> and
wasn't able to get it to work.  I've tried surrounding the entire form and
just the offending form element, but neither way has worked.  Has anyone
been able to effectively make this type of workaround work?

I'm using HierMenus from www.dhtml.com on a W2k box w/ IE 5.

John M. Corro
Cornerstone Consulting
414.212.3500

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to