Forums Archive Index > SmartMenus 5 > z-index bug (SELECT box issue in IE)

Author: kryptonite

Date: 12 Aug 2004 10:01 am

There seems to be a problem when a SmartMenu is to pop up over form items of the "<select>" type. Select lists are not properly covered by the SmartMenu but "shine through" instead.

This error does not seem to happen with the other form items (input, radios, checkboxes etc.), but I didn't check all of them yet.


Author: smartmenus

Date: 12 Aug 2004 10:50 am

This is a well-known problem with DHTML layers. The SELECT box in IE/Windows is a special OS control. The result of this fact is that no DHTML layer can be displayed over SELECT boxes. This means that if any menu should be displayed on a position where a SELECT box is placed, it will be partially hidden beneath the SELECT element.

To make sure that this won't happen SmartMenus v5.x has a special function implemented. To enable this function just set s_hideSELECTsInIE=true in section 1 of the s_arrays.js file.