Results 1 to 3 of 3

Thread: Conflict between Lightbox 2.0 and Conveyor Belt Slideshow

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

    Default Conflict between Lightbox 2.0 and Conveyor Belt Slideshow

    1) Lightbox 2.0 and Conveyor Belt Slideshow

    2) http://dynamicdrive.com/dynamicindex...box2/index.htm and http://dynamicdrive.com/dynamicindex...rightslide.htm

    3) Hi, just a short question.
    Even though conflicts between two scripts are not supported here maybe someone could help me with my problem. Can someone tell me what can be used to replace "window.onload = fillup;" (which I figured out is the part that doesn't work with Lightbox 2.0). If I just delete it and put "fillup();" at the end of the script the Lightbox 2.0 works fine in FF but the Conveyor Belt Slideshow doesn't work right and judders... It would be great if anyone could help me.

  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 replacing:

    Code:
    window.onload=fillup
    with:

    Code:
    window.onload=function(){
    fillup();
    initLightbox();
    };
    You may also need to remove this line from the very end of lightbox.js:

    Code:
    Event.observe(window, 'load', initLightbox, false);
    If you don't need to remove it though, it would be best to keep it for situations where you may link the same lightbox script to other pages that are not also using Conveyor.
    - John
    ________________________

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

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

    Default

    Thank you very much!!! It works perfectly without removing something from the js...

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
  •