Filter & sort magical layouts http://isotope.metafizzy.co
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.
 
 
 
David DeSandro e6c56dd8a1 requirejs example to use dist/pkgd.js 11 years ago
dist build dist/ file with Grunt 11 years ago
examples requirejs example to use dist/pkgd.js 11 years ago
js update Outlayer to v1.2, tick version 2b10 11 years ago
test masonry stamp test 11 years ago
.gitignore add Grunt file from isotope docs 11 years ago
.jshintrc remove console.log; devel: false 11 years ago
.tm_properties build dist/ file with Grunt 11 years ago
CONTRIBUTING.mdown submitting issues copy 11 years ago
Gruntfile.js build dist/ file with Grunt 11 years ago
README.mdown README Masonry -> Isotope 11 years ago
bower.json update Outlayer to v1.2, tick version 2b10 11 years ago
package.json update Outlayer to v1.2, tick version 2b10 11 years ago

README.mdown

Isotope

Filter and sort magical layouts

See isotopejs.com for complete docs and demos.

Install

A packaged source file includes everything you need to use Isotope.

TBD

Bower

If you are cool with the command line, install Isotope as a Bower package:

bower install isotope

Isotope

Isotope may be used in commercial projects and applications with the one-time purchase of a commercial license. If you are paid to do your job, and part of your job is implementing Isotope, a commercial license is required.

http://isotope.metafizzy.co/license.html

For non-commercial, personal, or open source projects and applications, you may use Isotope under the terms of the GPL v3 License. You may use Isotope for free.

Initialize

In JavaScript

var container = document.querySelector('#container');
var iso = new Isotope( container, {
  // options...
  itemSelector: '.item',
  masonry: {
    columnWidth: 200
  }
});

Or with jQuery

$('#container').isotope({
  // options...
  itemSelector: '.item',
  masonry: {
    columnWidth: 200
  }
});

In HTML

Add a class of js-isotope to your element. Options can be set in JSON in data-isotope-options.

<div class="js-isotope" data-isotope-options='{ "itemSelector": ".item", "masonry": { "columnWidth": 200 } }'>
  <div class="item"></div>
  <div class="item"></div>
  ...
</div>

Copyright (c) 2013 Metafizzy