Results 1 to 2 of 2

Thread: using Conveyor Belt slideshow and Lightbox image viewer 2 togther

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

    Default using Conveyor Belt slideshow and Lightbox image viewer 2 togther

    1) Script Title:
    Conveyor Belt slideshow
    and
    Lightbox image viewer 2

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


    3) Describe problem:
    Hi all.. im new here, and hoping you guys can help me out..
    heres the problem.
    Using the 2 above scripts together works fine in IE, but come to use it in FireFox and the lightbox script stops working..
    Both work fine seperatly, just not together.
    Last edited by leegti; 09-29-2007 at 05:58 PM.

  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

    I would try adding (red) this in Conveyor:

    Code:
    function fillup(){
    if (iedom){
    cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
    cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
    cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
    actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
    cross_slide2.style.left=actualwidth+slideshowgap+"px"
    }
    else if (document.layers){
    ns_slide=document.ns_slidemenu.document.ns_slidemenu2
    ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
    ns_slide.document.write(leftrightslide)
    ns_slide.document.close()
    actualwidth=ns_slide.document.width
    ns_slide2.left=actualwidth+slideshowgap
    ns_slide2.document.write(leftrightslide)
    ns_slide2.document.close()
    }
    initLightbox();
    lefttime=setInterval("slideleft()",30)
    }
    window.onload=fillup
    And removing this:

    Code:
    Event.observe(window, 'load', initLightbox, false);
    from the end of the lightbox.js file.

    If you need more help:

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    - 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
  •