jQuery Masonry, by David DeSandro is an excellent jQuery plugin to enhance the layout of a page.
However, you may find that when using images in the content of the divs you are aligning with Masonry, you may get some overlapping where the script has lodaed before your images.
In order to fire the Masonry script once your images have loaded on the page, use the following code:
$(window).load(function() {
$('#athediv').masonry({ columnWidth: 200 });
});
-
madsouls liked this
-
joelwarren liked this
-
howardtharp liked this
-
meteoracle posted this