jquery masonry problem in chrome

讓container的圖片讀取完畢再做動作

$(function() {
$('#container').imagesLoaded(function() {
$('#container').masonry({
itemSelector : '.item',
columnWidth : 10
});
});
});


http://stackoverflow.com/questions/7476649/jquery-masonry-breaksstacks-images-in-chrome-safari-but-only-on-first-load

沒有留言: