Forum Moderators: open
I am using a tool tip javascript to show info about something you hover over.
The problem:
In I.E. the <select> dropdowns stay on top of the tool tip, that is, the tool tip goes under the <select> boxes. Any ideas on how to correct this?
Here are some things I've already tried
IE6 feels that windowed elements should always be on top, which is why your z-index will not solve the issue. Other browsers don't have this problem, as you've apparently noticed.
As Bernard Marx said, you have some work-arounds for the issue, and from what i've seen the most popular fix is his first-mentioned one: a Javascript function which hides the windowed elements if your mouse is in the area of the windowless elements. This fix sure can get ugly though.... the code AND the aesthetic.
The two solutions mentioned in this thread are by far the simplest: hide select box when appropiate; use iframe for DHTML layer
There is, however, another solution. It involves replacing the entire select element itself with an object (using the appropriate clsid for a combo box). This process is quite complex, and IMO not worth it. For anyone interested there is, however, a lengthy (and technical) tutorial by DevGuru on the subject [devguru.com].