Results 1 to 5 of 5

Thread: select menus show through lightbox in ie

  1. #1
    Join Date
    Jul 2005
    Posts
    39
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default select menus show through lightbox in ie

    1) Script Title: Lightbox image viewer 2.0

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

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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,028
    Thanks
    44
    Thanked 3,210 Times in 3,172 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Posts
    39
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default it's a conflict with another script

    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:

    http://www.toasterjones.com/mockup/

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,028
    Thanks
    44
    Thanked 3,210 Times in 3,172 Posts
    Blog Entries
    12

    Default

    You could add this after the external script tag for bott.js -

    Code:
    <!--[if lte IE 6]>
    <script type="text/javascript">
    showSelects=function(){return;}
    </script>
    <![endif]-->
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jul 2005
    Posts
    39
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default that works!

    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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •