1) Script Title: Light box 2.0
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...box2/index.htm
3) Describe problem: If you are interested in making lightbox a photogallery, this is a simple cheat.
(this will show a gallery icon, and pull up a lightbox with 5 additional images)Code:<a href="one.jpg" rel="lightbox[TripOne]" title="#"><img src="preview_1.gif"></a> <a href="two.jpg" rel="lightbox[TripOne]" title="#"></a> <a href="three.jpg" rel="lightbox[TripOne]" title="#"></a> <a href="four.jpg" rel="lightbox[TripOne]" title="#"></a> <a href="five.jpg" rel="lightbox[TripOne]" title="#"></a> <a href="six.jpg" rel="lightbox[TripOne]" title="#"></a>
I wrapped the <A> tag around the initial preview image and the had a bunch of invisible links follow with the lightbox[TripOne] reference. I am sure there are more efficient ways of doing this using arrays, but it worked for me.



Reply With Quote
Bookmarks