Archive for July, 2012

h1

IE6 ignores z-index on select elements – bgiframe plugin for jquery

July 8, 2012

IE6 ignores z-index on selects and puts it above everything else. This is annoying when you have a drop down mega menu that needs to cover a form and you need to support IE6.

There is this jquery plugin magically fixes this with some magic involving an iframe:
http://docs.jquery.com/Plugins/bgiframe

Include the jquery plugin and then target the floating div in the menu that needs to float over the select. e.g. jQuery(‘div.sub’).bgiframe();

Advertisements