Skip to content Skip to sidebar Skip to footer

Jquery, Masonry After Append Complete

I have the jQuery below http://jsfiddle.net/XMdYw/7/ var elements = ''; var ELEMENT_COUNT_PER_PAGE = 301; var page = 1; for (var i = (ELEMENT_COUNT_PER_PAGE * (page - 1)); i &l

Solution 1:

  1. I suggest you to add the height and witdh to the image and then append it with masonry.
  2. After you append all images call masonry.reload() function.
  3. When the images take too long to load use function imageloaded as described in the masonry documentation

Post a Comment for "Jquery, Masonry After Append Complete"