Browse Source

HTML example matches Javascript examples

Shouldn't the HTML example use an `id` of `container` that matches the ones targeted by the javascript examples?
pull/853/head
Trevor Hickey 10 years ago
parent
commit
8ba4fa52e8
  1. 2
      README.mdown

2
README.mdown

@ -57,7 +57,7 @@ var iso = new Isotope( container, {
Add a class of `js-isotope` to your element. Options can be set in JSON in `data-isotope-options`.
``` html
<div class="js-isotope" data-isotope-options='{ "itemSelector": ".item", "masonry": { "columnWidth": 200 } }'>
<div id="container" data-isotope-options='{ "itemSelector": ".item", "masonry": { "columnWidth": 200 } }'>
<div class="item"></div>
<div class="item"></div>
...

Loading…
Cancel
Save