Kod:
<script> jQuery.ias({ container : '#con', item: '.bo', pagination: '.pages', loader: '<img src="loader.gif">', onLoadItems: function(items) { // hide new items while they are loading var $newElems = $(items).show().css({ opacity: 0 }); // ensure that images load before adding to masonry layout $newElems.imagesLoaded(function(){ // show elems now they're ready $newElems.animate({ opacity: 1 }); $('#con').masonry( 'appended', $newElems, true ); }); return true; } }); </script>
Z góry dziękujęza pomoc i pozdrawiam.