You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
title: Basic
|
|
|
|
layout: demo
|
|
|
|
category: demos
|
|
|
|
related: a-intro
|
|
|
|
---
|
|
|
|
|
|
|
|
<section id="copy">
|
|
|
|
<p>This is a basic demo of Isotope. Resize the browser window to see the layout animate.</p>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<div id="container">
|
|
|
|
{% for element in site.elements_ordered limit:20 %}
|
|
|
|
{% include element-partial.html %}
|
|
|
|
{% endfor %}
|
|
|
|
</div> <!-- #container -->
|
|
|
|
|
|
|
|
<script src="../js/jquery-1.4.4.min.js"></script>
|
|
|
|
<script src="../src/mini-modernizr.js"></script>
|
|
|
|
<script src="../src/jquery.opto-transform.js"></script>
|
|
|
|
<script src="../src/jquery.smartresize.js"></script>
|
|
|
|
<script src="../src/jquery.isotope.js"></script>
|
|
|
|
<script src="../src/jquery.ui.widget.js"></script>
|
|
|
|
<script>
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
var $container = $('#container');
|
|
|
|
|
|
|
|
$container.isotope({
|
|
|
|
itemSelector: '.element'
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|