How to show a div over a select box, iframe, flash, java applet, etc
UPDATE: Try the Position-Relative Z-index Bug Fix to see if that clears up your issue first. It’s worked for us.
Are you or anyone you know (who’s up to our high standards of geekery), ever encountered any of these issues?
- No matter how high you set the z-index of your absolutely or relatively positioned element, it still displays under:
- A <select> box
- A flash movie
- A Java applet
- A SIFR headline
* Also have you noticed how this is yet another seemingly exclusive IE issue?? Are you surprised? Do you want to buy us a beer?
Internet Explorer: A browser or a sweaty toothed madman?
Good question.
The Solution
It is important to note that the SIFR, and flash movies can be made to display behind elements by setting the wmode parameter. However, sometimes this doesn’t seem to work in IE, especially IE6 (We were amazed there). There is another workaround, which involves iFrames: which always display above everything in IE. Therefore, there are some great scripts showing how to create these iframe shims on the fly and insert them behind your menu, or absolutely positioned element.
Us being industrius decided to use jQuery to create these shims onload and dynamically insert them.
Then, us being lazy, decided to search for something already in existence.
Low and behold, the jQuery bgiframe plugin. How I love thee jQuery.

May 13th, 2010 at 1:17 pm
Thanks for the tip on this. Works great in both Firefox and IE – however no dice with Chrome.
Any suggestions?
July 3rd, 2011 at 12:56 am
They run one of the most inconsiderate organizations nearly.
October 26th, 2011 at 10:01 am
Just what I needed- many thanks! BTW, tis Lo and behold, not Low.
November 4th, 2011 at 1:08 am
camelot online…
[...]How to show a div over a select box, iframe, flash, java applet, etc | breakthrough design[...]…
November 17th, 2011 at 2:55 am
Watch Bomb Patrol Afghanistan…
[...]How to show a div over a select box, iframe, flash, java applet, etc | breakthrough design[...]…
November 22nd, 2011 at 7:08 pm
Hmm it seems like your site ate my first comment (it was super long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog writer but I’m still new to everything. Do you have any suggestions for novice blog writers? I’d genuinely appreciate it.
November 27th, 2011 at 2:42 am
I’d really like to switch hyperlinks by using your internet site is that probable?
November 29th, 2011 at 9:23 pm
I have read much on the topic of without charge blogging web sites, but I have no clear idea on the topic of that, can any one inform me which one is finest for free blogging and site-building?
November 29th, 2011 at 10:35 pm
we got leftovers.ige levels