PDA

View Full Version : Combining Lightbox 2 with conveyor belt script



sitespt
03-01-2009, 10:38 AM
Dear all, I'm having problems Combining Lightbox 2 with conveyor belt script.

Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm
http://dynamicdrive.com/dynamicindex14/leftrightslide.htm

Problem:
I'm trying to combine these two scripts.
I can get the conveyor belt to work but when I click on an image it opens up a window by itself. Can't seem to get the lightbox to work.

I tried some solutions in this forum but no luck so far.
Anyone can provide me some examples or instructions to solve this?

Really appreciate your help.
Regards,
SPT

jscheuer1
03-01-2009, 03:30 PM
If you use the newer version 2.04 of Lightbox, there is nothing to it, at least not to the basics. Just install the two scripts as instructed. In conveyor, make your links have the rel="lightbox" syntax, ex:


leftrightslide[0]='<a href="larger_img.jpg" rel="lightbox"><img src="smaller_img.jpg" border=1></a>'

However, Lightbox 2.04 is a little buggy. For a better experience I suggest using my version 2.04a -

Demo:

http://home.comcast.net/~jscheuer1/side/lightbox2.04a/

Archive:

http://home.comcast.net/~jscheuer1/side/lightbox2.04a/lightbox2.04a.zip

sitespt
03-02-2009, 11:23 AM
Hi John.
You helped me a lot :)

It didn't work with me with other solutions but this is nice...

Thank you

ssnaples
01-25-2011, 10:56 PM
Sorry to resurrect such an old thread, but I am having a similar issue and cannot seem to find the answer. I would like to have the conveyor belt work hand in hand with lightbox2 whereas when I click the image in the conveyor belt a gallery with a group of images will open with the lightbox. I see how you are setting up lightbox, but the group of images is actually in the conveyor belt. Can I do the same thing by grouping 1 image on the conveyor with 4 or 5 other images that are not on the conveyor? Thank you for your help!