Browse Source

docs : move click binding back into $(document).ready()

pull/96/head
David DeSandro 14 years ago
parent
commit
9db258d900
  1. 4
      _layouts/elements.html
  2. 3
      _posts/demos/2010-12-29-layout-modes.html
  3. 3
      _posts/demos/2010-12-30-filtering.html
  4. 3
      _posts/demos/2010-12-30-sorting.html
  5. 4
      _posts/demos/2010-12-31-relayout.html
  6. 3
      _posts/demos/2011-01-02-adding-items.html
  7. 3
      _posts/demos/2011-03-29-combination-filters.html

4
_layouts/elements.html

@ -54,6 +54,7 @@
<script src="../{{ site.isotope_js }}"></script>
<script src="../js/fake-element.js"></script>
<script>
$(function(){
var $container = $('#container');
@ -92,9 +93,6 @@
{% include option-buttons.js %}
$(function(){
$container.isotope({
itemSelector : '.element',
// layoutMode : 'fitRows',

3
_posts/demos/2010-12-29-layout-modes.html

@ -25,6 +25,7 @@ related: layouts
<script src="../{{ site.jquery_js }}"></script>
<script src="../{{ site.isotope_js }}"></script>
<script>
$(function(){
var $container = $('#container');
@ -32,8 +33,6 @@ related: layouts
{% include option-buttons.js %}
$(function(){
$container.isotope({
itemSelector : '.element',
masonry : {

3
_posts/demos/2010-12-30-filtering.html

@ -39,6 +39,7 @@ related: filtering
<script src="../{{ site.jquery_js }}"></script>
<script src="../{{ site.isotope_js }}"></script>
<script>
$(function(){
var $container = $('#container');
@ -51,8 +52,6 @@ related: filtering
{% include option-buttons.js %}
$(function(){
$container.isotope({
itemSelector : '.element'
});

3
_posts/demos/2010-12-30-sorting.html

@ -26,6 +26,7 @@ related: sorting
<script src="../{{ site.jquery_js }}"></script>
<script src="../{{ site.isotope_js }}"></script>
<script>
$(function(){
var $container = $('#container');
@ -33,8 +34,6 @@ related: sorting
{% include option-buttons.js %}
$(function(){
$container.isotope({
itemSelector : '.element',
getSortData : {

4
_posts/demos/2010-12-31-relayout.html

@ -25,6 +25,7 @@ related: methods
<script src="../{{ site.jquery_js }}"></script>
<script src="../{{ site.isotope_js }}"></script>
<script>
$(function(){
var $container = $('#container');
@ -42,9 +43,6 @@ related: methods
$container.isotope('reLayout');
});
$(function(){
$container.isotope({
itemSelector: '.element',
masonry : {

3
_posts/demos/2011-01-02-adding-items.html

@ -31,6 +31,7 @@ related: methods
<script src="../{{ site.isotope_js }}"></script>
<script src="../js/fake-element.js"></script>
<script>
$(function(){
var $container = $('#container');
@ -46,8 +47,6 @@ related: methods
return false;
});
$(function(){
$container.isotope({
itemSelector : '.element',
getSortData : {

3
_posts/demos/2011-03-29-combination-filters.html

@ -57,6 +57,7 @@ schema:
<script src="../{{ site.jquery_js }}"></script>
<script src="../{{ site.isotope_js }}"></script>
<script>
$(function(){
var $container = $('#container'),
filters = {};
@ -81,8 +82,6 @@ schema:
{% include option-buttons.js %}
$(function(){
$container.isotope({
itemSelector : '.color-shape',
masonry: {

Loading…
Cancel
Save