hi,i'm trying to keep working onstart and onComplete method on fancybox (jquery plugin)
they doesn't works for me ...do yo know why?
this is the code:
$(document).ready(function(){
//top-menu highlight link $(".photos").removeClass().addClass("active");
$("a.fancybox").fancybox({
'overlayShow' : true, 'opacity' : true, 'overlayOpacity': 0.6, 'onStart' : function(){ $("body").css('overflow','hidden');}, 'onComplete': function(){ $("body").css('overflow','auto');}
});
});