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