これを使用して、jQuery Masonry を呼び出してアクティブにしています。
<script>
jQuery("#content").load("recent.html", function(){
$('#masonryContainer').masonry({
// options
itemSelector : '.item',
columnWidth : 10,
isAnimated: !Modernizr.csstransitions,
easing: 'linear'
});
});
</script>
問題は、ページが読み込まれると、すべての画像 (recent.html の div にある) が互いに積み重なることです。メーソンリーがアクティブになり、画像をアニメーション化/配置する前に、まずブラウザー ウィンドウのサイズを変更する必要があります。入ってすぐにやってほしいです。