Home › Forums › CSS › Fade in images onload › Re: Fade in images onload
May 23, 2012 at 11:43 pm
#103374
TheDoc
Member
Looks like Masonry doesn’t have a ‘callback’ per se, so you can do this:
$container.imagesLoaded(function() {
$('#content').masonry();
$("#content").animate({opacity: 1});
});
You’ll need to change the selectors to whatever you are using – this is just from a theme I did.