Results 1 to 2 of 2

Thread: lightbox2 problem

  1. #1
    Join Date
    Dec 2007
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default lightbox2 problem

    i've "installed" the script.. but.. all i got when i click on an image is a white window that sometimes shrinks(like it shoulds) but no image is shown and the background is not turned in black

    here is a link to the page:

    http://89.215.52.231/templates/25/page2.html
    ( the left 2 big images are added to the lightbox )

    here is and the lightbox example which works:
    http://89.215.52.231/templates/25/index2.html

    any idea what's wrong?

  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

    There is a conflict between the mootools-release-1.11.js and one or more of the lightbox scripts. As mootools-release-1.11.js is a javascript framework, and so is js/prototype.js, it is probably a conflict between those two. There is a lightbox 'clone' called slimbox that uses mootools:

    http://www.digitalia.be/software/slimbox

    That could probably work on that page. You would have to remove the lightbox script links and css, and add the slimbox stuff. There could still be problems if the version of mootools required by your other scripts is different than that required by slimbox. The way mootools works is that you can compile it with the units you need, you would have to have a version with all required units for all of your scripts that use it. And there could still be a conflict between slimbox and some of your other scripts that work off of mootools. But, if you are handy, it's worth a shot.

    Otherwise, stick with lightbox and find other ways to do the things you are using mootools for.
    Last edited by jscheuer1; 12-21-2007 at 06:59 PM. Reason: add clarity
    - 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
  •