Sha256: 7e78a409539c5159f0497fa0fe10b537d945af3269ee65fa12772fb08d07ead9

Contents?: true

Size: 1.05 KB

Versions: 11

Compression:

Stored size: 1.05 KB

Contents

---
title: reLayout
layout: default
category: demos
---
  
  <section id="copy">
    <p>Use the <a href="../docs/methods.html#relayout"><code>reLayout</code> method</a> to easily arrange item elements after a change.</p>
    <p>Click on any item element to change its size.</p>
  </section>
  
  <section id="options">
    <ul class="clearfix">
      <li id="toggle-sizes"><a href="#toggle-sizes">Toggle variable sizes</a></li>
    </ul>
  </section>
  
  <div id="container" class="clickable clearfix">
    {% for element in site.elements limit:20 %}
      {% include element-partial.html %}
    {% endfor %}
  </div> <!-- #container -->
  
  <script src="../{{ site.jquery_js }}"></script>
  <script src="../{{ site.isotope_js }}"></script>
  <script>
    $(function(){
      
      var $container = $('#container');
      
      {% include random-sizes.js %}
      
      $container.isotope({
        itemSelector: '.element',
        masonry : {
          columnWidth : 120
        }
      });
      
      {% include change-sizes.js %}
      
    });
  </script>
  

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bonethug-0.0.17 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.16 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.15 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.14 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.13 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.12 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.11 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.10 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.7 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.6 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html
bonethug-0.0.5 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/isotope/_posts/demos/2010-12-31-relayout.html