Forum Moderators: open

Message Too Old, No Replies

DHTML drop down nav over form elements?

How do you get this to work?

         

BwanaZulia

8:02 pm on Nov 7, 2003 (gmt 0)

10+ Year Member



I have been trying to get a drop down navigation written in DHTML to work when it drops down over a form select box.

It either goes behind the form element or does some strange blanking out of the form.

Anyone get this to work?

BZ

TGecho

10:31 pm on Nov 7, 2003 (gmt 0)

10+ Year Member



If I understand correctly, form elements are rendered separately from the rest of the page. So if stuff tries to get in front of them strange things happen. I don't have any elegant solutions for you, but don't go anywhere. We've got a lot of more knowledgeable people around here.

jetboy_70

12:00 am on Nov 8, 2003 (gmt 0)

10+ Year Member



As TGecho's suggests, there are no elegant solutions to this, and common opinion is that it can't be fixed.

However, perhaps there are some dodgy workarounds ... if the select should be completely covered by the menu, how about using a Javascript event to trigger a CSS change on the select? Maybe a change in the visibility? Maybe alter the visibility of a surrounding div?