mirror of https://github.com/metafizzy/isotope
David DeSandro
14 years ago
2 changed files with 67 additions and 0 deletions
@ -0,0 +1,55 @@
|
||||
--- |
||||
title: Images |
||||
layout: demo |
||||
category: demos |
||||
related: etc |
||||
photos: |
||||
- <a href="http://www.flickr.com/photos/nemoorange/5013039951/" title="Stanley by Dave DeSandro, on Flickr"><img src="http://farm5.static.flickr.com/4113/5013039951_3a47ccd509.jpg" alt="Stanley" /></a> |
||||
- <a href="http://www.flickr.com/photos/nemoorange/5013039885/" title="Officer by Dave DeSandro, on Flickr"><img src="http://farm5.static.flickr.com/4131/5013039885_0d16ac87bc.jpg" alt="Officer" /></a> |
||||
- <a href="http://www.flickr.com/photos/nemoorange/5013039583/" title="Tony by Dave DeSandro, on Flickr"><img src="http://farm5.static.flickr.com/4086/5013039583_26717f6e89.jpg" alt="Tony" /></a> |
||||
- <a href="http://www.flickr.com/photos/nemoorange/5013646070/" title="Kendra by Dave DeSandro, on Flickr"><img src="http://farm5.static.flickr.com/4146/5013646070_f1f44b1939.jpg" alt="Kendra" /></a> |
||||
- <a href="http://www.flickr.com/photos/nemoorange/5013039541/" title="Giraffe by Dave DeSandro, on Flickr"><img src="http://farm5.static.flickr.com/4144/5013039541_17f2579e33.jpg" alt="Giraffe" /></a> |
||||
- <a href="http://www.flickr.com/photos/nemoorange/5013039741/" title="Gavin by Dave DeSandro, on Flickr"><img src="http://farm5.static.flickr.com/4153/5013039741_d860fb640b.jpg" alt="Gavin" /></a> |
||||
- <a href="http://www.flickr.com/photos/nemoorange/5013039697/" title="Anita by Dave DeSandro, on Flickr"><img src="http://farm5.static.flickr.com/4113/5013039697_a15e41fcd8.jpg" alt="Anita" /></a> |
||||
- <a href="http://www.flickr.com/photos/nemoorange/5013646314/" title="Take My Portrait by Dave DeSandro, on Flickr"><img src="http://farm5.static.flickr.com/4124/5013646314_c7eaf84918.jpg" alt="Take My Portrait" /></a> |
||||
- <a href="http://www.flickr.com/photos/nemoorange/5013040075/" title="Wonder by Dave DeSandro, on Flickr"><img src="http://farm5.static.flickr.com/4089/5013040075_bac12ff74e.jpg" alt="Wonder" /></a> |
||||
--- |
||||
|
||||
<section id="copy"> |
||||
|
||||
</section> |
||||
|
||||
<div id="demo" class="iso-container photos"> |
||||
{% for photo in page.photos %} |
||||
<div class="photo"> |
||||
{{ photo }} |
||||
</div> |
||||
{% endfor %} |
||||
</div> <!-- #demo --> |
||||
|
||||
<nav id="page_nav"> |
||||
<a href="../pages/2.html"></a> |
||||
</nav> |
||||
|
||||
<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 src="../js/jquery.infinitescroll.min.js"></script> |
||||
<script> |
||||
$(function(){ |
||||
|
||||
var $demo = $('#demo'); |
||||
|
||||
$demo.imagesLoaded( function(){ |
||||
console.log( this ) |
||||
$(this).isotope({ |
||||
itemSelector : '.photo', |
||||
}); |
||||
}) |
||||
|
||||
|
||||
}); |
||||
</script> |
Loading…
Reference in new issue