Results 1 to 2 of 2

Thread: Lightbox Image viewer v2.03a & carousel

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

    Unhappy Lightbox Image viewer v2.03a & carousel

    1) Script Title: http://www.dynamicdrive.com/dynamici...box2/index.htm

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

    3) Describe problem:
    Hi All, first off i'd like to say, great forum & website. Helps me a lot!

    Anyway the problem:
    So i have this webshop & im using a jquery Carousel script, for the header product images. And for the main images i use the lightbox.

    The problem is that they cant work both.

    The Carousel file has 2 js files:

    Carousel.js

    And

    jquery.min.js

    Anyway, there is something in jquery.min.js that wont work together with lightbox.

    How can i fix this? Your help is appreciated very much!

    As soon this is fixed, i can put my shop live.

    Thanks in advance!

  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

    Lightbox Image viewer v2.03a will never work with jQuery, not even in jQuery's noConflict mode. Other than abandoning one of the scripts, you have two basic choices:

    1. Switch your lightbox functionality to a jQuery based script like:

      http://leandrovieira.com/projects/jquery/lightbox/

      or:

      http://jquery.com/demo/thickbox/

      There are others, Google:

      jQuery Lightbox

      to find more.

    2. Update to Lightbox Image viewer v2.04a:

      http://home.comcast.net/~jscheuer1/s...htbox2.04a.zip

      This option would be a bit trickier in that the jQuery Carousel script would have to come before Lightbox v2.04a in your code and the jQuery Carousel script would need to be made entirely (fortunately it's already somewhat) into a jQuery noConflict mode script. More on that later if you choose this option.


    The first option is better though because it will drastically reduce the amount of code required for the page.
    - 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
  •