enmi12/glossaire/_includes/inf-scroll-page.html
changeset 0 d970ebf37754
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/enmi12/glossaire/_includes/inf-scroll-page.html	Wed Nov 06 03:21:17 2013 +0000
@@ -0,0 +1,21 @@
+<div id="container" class="variable-sizes">
+  {% assign page_position = page.page_position %}
+  {% for element in site.elements limit:20 offset:page.page_position %}
+    {% include element-partial.html %}
+  {% endfor %}
+</div>
+
+<script src="../{{ site.jquery_js }}"></script>
+<script src="../{{ site.isotope_js }}"></script>
+<script>
+  $(function(){
+    
+    var $container = $('#container');
+    
+    $container.isotope({
+      itemSelector : '.element',
+      layoutMode : 'fitRows'
+    });
+    
+  });
+</script>
\ No newline at end of file