View Full Version : select menus show through lightbox in ie

03-01-2007, 04:22 PM
1) Script Title: Lightbox image viewer 2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem: any way to stop select menus showing though in ie6? thank you.

03-01-2007, 04:37 PM
They don't. Lightbox hides select elements during its display. If they are still showing for you, perhaps you are not using the latest version. Or, your select element(s) may not be valid and therefore not getting hidden during lighbox display. Or, you don't mean the select element. In that case, it is a matter of setting the proper z-index for the lightbox and overlay elements. If you are still having problems, please supply a link to your problem page.

03-01-2007, 05:39 PM
Ah, it was my mistake - the script appears to be incompatible with another script (bott.js) I'm using on the page (which shows a tooltip).

You can see the conflict here:


03-01-2007, 06:02 PM
You could add this after the external script tag for bott.js -

<!--[if lte IE 6]>
<script type="text/javascript">

That actually should cause another problem (with the selects staying hidden in IE 6) but, in testing it on your demo page, it doesn't seem to do that.

03-01-2007, 06:16 PM
Yes that seems to work! And no, the selects don't disappear in IE6.. (slight frisson of worry, there. but seems OK!) So thank you - you solved my problem!