I would like to have the thumbnails in the site below open up as light boxes when clicked. I found the Jquery Lightbox plugin and it seems it only opens an image with text? or as a gallery?
A gallery won't work because I have a separate button and text below the thumbs.
http://tinyurl.com/72yta8j
Thanks for lookin!
attosoft
Member
Posted 2 months ago #
In ThickBox, you can write the code like below.
<div>
< a href="image1.jpg" class="thickbox" rel="gallery-thum">
<img src="thum1.jpg" alt="Image 1" />
< /a>
<p>Image 1</p>
< a href="image1.jpg" class="thickbox" rel="gallery-button">
<img src="button1.png" alt="Image 1" />
< /a>
</div>
<div>
< a href="image2.jpg" class="thickbox" rel="gallery-thum">
<img src="thum2.jpg" alt="Image 2" />
< /a>
<p>Image 2</p>
< a href="image2.jpg" class="thickbox" rel="gallery-button">
<img src="button2.png" alt="Image 2" />
< /a>
</div>