Response title
This is preview!
If your content contains any images, you’ll want to ensure that Masonry is triggered after all the images your content has loaded. The included imagesLoaded plugin makes this easy.
var $container = $('#container');
$container.imagesLoaded(function(){
$container.masonry({
itemSelector : '.item',
columnWidth : 240
});
});
© 2013 jQuery Foundation
Sponsored by and others.