I\'m trying to make this jquery plugin => http://leandrovieira.com/projects/jquery/lightbox/ work with multiple galleries on the same page.
The problem is, everytime
Perhaps lightbox has changed since other answers were given, but I thought the answers on this page were good, but then I discovered that I could simply do:
jQuery('.lightbox').each(function(){
jQuery('a', this).lightBox();
});
That assumes an HTML structure of:
The wrapper class isn't needed, I think, but my code included it for other reasons.