i am using this:
$('#loadmore').click(function() {
$.ajax({
url: 'includes/loadmorebuilds.php',
success: function(html) {
$("#content").append(html);
}
});
});
To load more items into a container which is sorted with jquery masonry. However when they are appended they do not follow the rest of the items and break the masonry style.
The new items work as a masonry layout, but they just dont continue on from the first ones. They start there own line.
I have searched and found this information on their site:
msnry.appended( elements )
// or with jQuery
$container.masonry( 'appended', elements )
I just need help modifying my original script to make the appended items work with masonry.
thanks, craig.