jquery - Where in this example is masonry.js being initialized? -


in example (which working perfectly), http://codepen.io/anon/pen/cotjv masonry.js included, after reading other tuturials, understanding have not import script initialize masonry.

i have codepen example working locally on machine, reason ask how initialize masonry i'm trying change gutter size, , don't see anywhere that.

for example line off masonry.js website shows can set columnwidth.

var container = document.queryselector('#container'); var msnry = new masonry( container, {   columnwidth: 200,   itemselector: '.item' }); 

in codepen i've pasted above, not see similar line, i'm wondering need go in code set columnwidth , guttersize. codepen direct clone of tympanus masonry.js demo. http://tympanus.net/codrops/2013/07/02/loading-effects-for-grid-items-with-css-animations/ have imported entire demo tympanus onto local machine , don't see masonry.js being initialized anywhere. there i'm not understanding here. can take snippet posted above , paste in in html in between tags? appreciated here, i'm trying able control column size , space between each picture.

search 'initialize masonry' in html column


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -