Need a jQuery Lightbox plugin that supports $.live() and grouping
Posted
by Throlkim
on Stack Overflow
See other posts from Stack Overflow
or by Throlkim
Published on 2009-05-25T19:15:56Z
Indexed on
2010/04/07
0:53 UTC
Read the original article
Hit count: 376
I'm bringing in all of my images via Ajax, and I'm looking for a quick fix for the front-end of this project. I've tried a couple of jQuery lightbox plugins, but I can't seem to get them to perform in a live function (correct me if I'm wrong in thinking I need to do this).
Currently attempting to use Balupton's Lightbox Plugin (can't link because of my being a new user), and after trying all of the examples to no avail, I've attempted it with this (also not working):
$('a.lightbox-gallery').live('click', function(){
$(this).lightbox();
});
Any help is much appreciated!
© Stack Overflow or respective owner