Lightbox2 Image Gallery - please help a newbie with script!

Discussion in 'JavaScript' started by funleprechaun, Oct 14, 2009.

  1. #1
    Hello there,

    I am trying to incorporate Lightbox2's image gallery script into my site but I'm having difficulty.

    Here's where I'm accessing the script from:

    http://www.huddletogether.com/projects/lightbox2/

    Here is my skeleton website:

    http://www.labellepetraie.com/photos

    The image thumbs are showing up but the larger images are not. I changed the 'body onload' html tag to window.onload as I'm using two different javascripts on this page and I don't want them to conflict. I've also added initLightbox() so I don't know what's wrong! Is there just an issue with the images or is there something wrong with the script.

    Please help!

    Let me know if you need additional info.

    A million thanks!

    :confused:

    <script type="text/javascript">

    window.onload = function(){ // use this instead of <body onload …>
    MM_preloadImages(MM_preloadImages('../3websites/home4.jpg','../3websites/amenities1.jpg','../3websites/inquiry1.jpg','../3websites/rates1.jpg','../3websites/photos1.jpg'); initLightbox()")
    }
    </script>
     
    funleprechaun, Oct 14, 2009 IP