PDA

View Full Version : Using Carousel script with Lightbox Image Viewer 2.0



manis.jain
08-17-2006, 12:29 AM
1) Script Title: Combining 'Carousel' and 'Lightbox Image Viewer 2.0'

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

3) Describe problem:
I want to use Lightbox image viewer script to be added with Carousel images links, but when use, the carousel also failed to appear.
i am just keeping the path with 'rel' attribute in carousel image array,

Car_Image_Sources=new Array(
"a.jpg","sumit.jpg" rel="lightbox" title="Sumit Verma",
"asi.jpg","ashwini.jpg" rel="lightbox" title="Ashwini",
"d.jpg","", //this slide isn't linked
"pr.jpg","", //this slide isn't linked
"r.jpg","../../content/promotion/Rajeshk.htm" // NOTE No comma after last line
);

this is what i hav done, apart from adding the 3 script files, kindly suggest me what to do..
what is the way to combine two scripts.
thanks for your hints