jquery - Applying fancybox on future elements? -
is possible apply fancybox(or lightbox alternative) on elements loaded hquery's load() ? if so, how?
assuming you're loaded elements classed "loadedelement"
$(".loadedelement").live("load", function() { // implement lightbox code });
or if want implement lightbox before images have finished loading, change "load" "ready"
Comments
Post a Comment