I bring all my images through Ajax and I am looking for a quick fix for the front-end of this project. I tried a couple of jQuery lightbox plugins, but I can't get them to work in a live function (correct me if I am wrong in thinking that I need to do this).
Currently trying to use the Lightbox plugin from Balupton (I can’t connect due to my new user), and after trying all the examples to no avail, I tried this (also did not work):
$('a.lightbox-gallery').live('click', function(){
$(this).lightbox();
});
Any help is much appreciated!
source
share