PDA

View Full Version : how to combining Slideshow and Lightbox



sanduwa
04-15-2010, 06:15 PM
Hello,

I would like to know how to combine the Slideshow with the lightbox.

lightbox :
http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

Slideshow :
<html>
<head>
<script type="text/javascript">
var preload_ctrl_images=true;
var previmg='left.gif';
var stopimg='stop.gif';
var playimg='play.gif';
var nextimg='right.gif';
var slides=[];
slides[0] = ["images/image1.jpg" , "This is my image 01"]; //image path with it's description
slides[1] = ["images/image2.jpg" , "This is my image 02"];
slides[2] = ["images/image3.jpg" , "This is my image 03"];
</script>
<script src="my.js" type="text/javascript"></script> // I have attached(my.js) below
</head>

<body >
<script type="text/javascript">new inter_slide(slides)</script>
</body>
</html>

Is there any possibility to open lightbox when click on the Slideshow ?????
I have tried this several times. But I couldn't. Now I'm fed-up with this.

please help me as soon as possible... It would be great if someone could help me.

Thank you very much,
Sanduwa