From e209ce0931d61d20d9ad144ad365e6f141314762 Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Sun, 2 Jan 2011 23:05:22 -0500 Subject: [PATCH] docs : tweaks and some more to intro --- _posts/docs/2010-12-02-getting-started.mdown | 13 ++++++++++++- _posts/docs/2010-12-10-adding-items.mdown | 4 ++++ _posts/pages/2011-01-01-5.yml | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/_posts/docs/2010-12-02-getting-started.mdown b/_posts/docs/2010-12-02-getting-started.mdown index ab666eb..e51ca70 100644 --- a/_posts/docs/2010-12-02-getting-started.mdown +++ b/_posts/docs/2010-12-02-getting-started.mdown @@ -7,4 +7,15 @@ related: etc --- -this is how you get started \ No newline at end of file +this is how you get started + +Isotope requires jQuery 1.4.3 and greater. + +{% highlight javascript %} + +$('#container').isotope({ + // options + itemSelector : '.item-class' +}); + +{% endhighlight %} \ No newline at end of file diff --git a/_posts/docs/2010-12-10-adding-items.mdown b/_posts/docs/2010-12-10-adding-items.mdown index 4bfc83b..cac6694 100644 --- a/_posts/docs/2010-12-10-adding-items.mdown +++ b/_posts/docs/2010-12-10-adding-items.mdown @@ -9,6 +9,8 @@ related: methods If your application dynamically adds new content, Isotope provides several methods to add items. +[**See Demo: Adding items**](../demos/adding-items.html). + ## addItems The `addItems` method adds new content to an Isotope container. This applies the proper styles to the items so they can be positioned and any sorting data is retrieved. But that's it. The new content will _not_ be filtered, sorted, or positioned properly, nor will it be appended to the container element. @@ -35,3 +37,5 @@ $('#container').isotope({ 'insert', $newItems }); The `appended` method is a convienence method triggers `addItems` on new content, then lays out _only the new content_ at the end of the layout. This method is useful if you know you only want to add new content to the end, and not have it processed with filtering or sorting. `appended` is the best method to use with Infinite Scroll. +[**See Demo: Infinite Scroll**](../demos/infinite-scroll.html). + diff --git a/_posts/pages/2011-01-01-5.yml b/_posts/pages/2011-01-01-5.yml index 0cf9ea5..60004e2 100644 --- a/_posts/pages/2011-01-01-5.yml +++ b/_posts/pages/2011-01-01-5.yml @@ -2,6 +2,6 @@ title: Infinite Scroll Page 5 category: pages layout: inf-scroll-page -page_position: 50 +page_position: 80 infinite_scroll: true --- \ No newline at end of file