swifmcvay
04-18-2009, 07:43 AM
Hi,
Wonder if anyone can tell me if this is possible.
I have a set of thumbnail images, with a main image(view attachment)
I can get the lightbox function to work no problem,
What I would like to do is insert a behavior to the thumbnail , so that when I click on the thumbnail, the bigger image changes to what the thumbnail is,and then once I got the big image I want to view, I click on it and then lightbox opens and does its fancy trickery.
This is the code im using for lightbox which works perfect.
<a href="../Dynamic/Images/Cape Grace/cape-grace1.jpg" rel="lightbox" ><img src="../Dynamic/Images/Cape Grace/cape-grace1thumb.jpg" name="thumb" width="38" height="38" id="thumb1" /> </a>
I can do the whole behavior so that it changes to the image, but what happens is it disables the lightbox function, and when I click on the big image it opens a new page and the image opens in the top left hand corner.
Hope this makes sense?
Thanks
Wonder if anyone can tell me if this is possible.
I have a set of thumbnail images, with a main image(view attachment)
I can get the lightbox function to work no problem,
What I would like to do is insert a behavior to the thumbnail , so that when I click on the thumbnail, the bigger image changes to what the thumbnail is,and then once I got the big image I want to view, I click on it and then lightbox opens and does its fancy trickery.
This is the code im using for lightbox which works perfect.
<a href="../Dynamic/Images/Cape Grace/cape-grace1.jpg" rel="lightbox" ><img src="../Dynamic/Images/Cape Grace/cape-grace1thumb.jpg" name="thumb" width="38" height="38" id="thumb1" /> </a>
I can do the whole behavior so that it changes to the image, but what happens is it disables the lightbox function, and when I click on the big image it opens a new page and the image opens in the top left hand corner.
Hope this makes sense?
Thanks