From fc55e4cd33c5e83725b30688c7e2f408ab2fb318 Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Thu, 7 Jul 2011 10:26:43 -0400 Subject: [PATCH] tests : add masonry corner stamp --- .../2011-07-07-masonry-corner-stamp.html | 146 ++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 _posts/tests/2011-07-07-masonry-corner-stamp.html diff --git a/_posts/tests/2011-07-07-masonry-corner-stamp.html b/_posts/tests/2011-07-07-masonry-corner-stamp.html new file mode 100644 index 0000000..3168f1d --- /dev/null +++ b/_posts/tests/2011-07-07-masonry-corner-stamp.html @@ -0,0 +1,146 @@ +--- +title: masonry corner stamp +layout: default +category: tests +--- + + + +
+

Modified masonry layout mode methods for corner stamp. This is a branch of Masonry. See Masonry corner stamp demo.

+

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