Results 1 to 8 of 8

Thread: Lightbox 2.04

  1. #1
    Join Date
    Mar 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox 2.04

    1) Script Title:
    Lightbox 2.04
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...box2/index.htm
    3) Describe problem:



    It works Ok Off line but when i put it on my website the only thing I see is the loading screen. Has anybody got an idea?

    Here is my website where you can look at the issue
    test lightbox

    Regards
    Lange

  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

    Upper and lower case matter on the web. This (from your source code):

    Code:
    <a href="images/DSC00780.jpg"
    and similar do not exist. This does:

    Code:
    <a href="images/DSC00780.JPG
    - John
    ________________________

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

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

    Default

    Thank you john

    This has fixed the problem

    Greetz

    Lange

  4. #4
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm jusing 'Lytebox'. It works just fine in FF; but in IE it doesn't show the thumb, nor the overlay (it just keeps loading).

    Can someone help me out with this one?

    sitepage

  5. #5
    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

    You've used illegal characters in your onload. And you are not using Lightbox. Change:

    Code:
    <body onload="MM_preloadImages(/images/menu_on.gif);initLightbox()">
    to:

    Code:
    <body onload="MM_preloadImages('/images/menu_on.gif');">
    But that's not the problem, as IE and FF both appear to just skip that and to load Lytebox (it is loaded by the script itself). The problem appears to be that your images are slightly non-standard, or of a standard that IE doesn't recognise. I saved (downloaded) one of the images, copied and pasted it in Paint Shop and saved the pasted copy as a .jpg - after that IE recognised it. How were these images made/processed? Just about any standard image editing program should be able to fix them simply by following the procedure I just outlined. Just make sure that you keep back ups until you are happy with the new images. You may test them locally by viewing them directly in IE.
    - John
    ________________________

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

  6. #6
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm not using "lightbox", but "lytebox" (site. Sorry if my post was confusing...

    I've cropped the images with Photoshop (CS3)....

  7. #7
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    found it!

    need to "save for web" in stead of "save as"...

    Tx alot for your help!!!


    grtz

  8. #8
    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

    Cool. You should still correct this:

    Code:
    <body onload="MM_preloadImages(/images/menu_on.gif);initLightbox()">
    to:

    Code:
    <body onload="MM_preloadImages('/images/menu_on.gif');">
    - John
    ________________________

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

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
  •