Results 1 to 3 of 3

Thread: Lightbox image viewer(page does not go dark in IE)

  1. #1
    Join Date
    Jan 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox image viewer(page does not go dark in IE)

    1) Script Title: Lightbox Image Viewer

    2) Script URL (on DD): Lightbox Image Viewer

    3) Describe problem: Hi, I have added lightbox viewer to my website and all works fine in Firefox but when loaded in IE when the image centers on screen the background doesnt go dark. Anyone know what the problem could be?
    here is link to one of my pages Here
    Any help would be much appreciated.

    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Try specifying the absolute paths to the images here (in lightbox.css):

    Code:
    	background-image: url(blank.gif);
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png", sizingMethod="scale");
    The overlay.png is here:

    Code:
    http://www.thetartanunderground.com/lightbox/overlay.png
    I don't know the absolute path to the blank.gif, the file itself may not be required.

    Unrelated perhaps but possibly a part of this, your page's body onload event attribute is throwing an error in FF:

    Error: missing ; before statement
    Source File: http://www.thetartanunderground.com/...diac_image.htm
    Line: 1, Column: 93
    Source Code:
    ages/general/profilebuttons/mp3over.gif','../../images/general/profilebuttons/linksover.gif');initLightbox(,'../../images/general/profilebuttons/booking-over.gif')
    But, it looks to me as though there are other problems with that event attribute as well so, fixing that one thing might make things worse. To test its effect on the original problem in your post, get rid of the body onload completely (as a test) to see what happens.
    - John
    ________________________

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

  3. #3
    Join Date
    Jan 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hi, I specified the absolute path to the overlay.png file in the lightbox.css and it has fixed the problem.
    Headache over.. thanks very much for your help!

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
  •