diff -r 000000000000 -r d970ebf37754 enmi12/glossaire/_posts/custom-layout-modes/2011-07-07-masonry-corner-stamp.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/enmi12/glossaire/_posts/custom-layout-modes/2011-07-07-masonry-corner-stamp.html Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,145 @@ +--- +title: Masonry corner stamp +layout: default +category: custom-layout-modes +--- + + + +
+

Modified masonry layout mode for corner stamp. An element can be "stamped" in the right top corner.

+

Set cornerStampSelector within masonry options. itemSelector needs to be set as well.

+ +{% highlight javascript %} + +$('#container').isotope({ + itemSelector: '.item', + masonry: { + columnWidth: 120, + cornerStampSelector: '.corner-stamp' + } +}); + +{% endhighlight %} + +
+ +
+ + {% include filter-buttons.html %} + + {% include sort-buttons.html %} + +

Etc

+ + + +
+ +
+ +
corner stamp here.
+ + {% for elem_number in site.best_of_order %} + {% assign element = site.elements[elem_number] %} + {% include element-partial.html %} + {% endfor %} +
+ + + + + + \ No newline at end of file