From 046b8c6f60d1c479ceca34d11fe9616e9bcfeadb Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Sun, 9 Jan 2011 21:01:37 -0500 Subject: [PATCH] docs - move Getting Starting into Intro --- _posts/docs/2010-12-01-introduction.mdown | 33 ++++++++++++++++ _posts/docs/2010-12-02-getting-started.mdown | 41 -------------------- 2 files changed, 33 insertions(+), 41 deletions(-) delete mode 100644 _posts/docs/2010-12-02-getting-started.mdown diff --git a/_posts/docs/2010-12-01-introduction.mdown b/_posts/docs/2010-12-01-introduction.mdown index 79dfcae..3667573 100644 --- a/_posts/docs/2010-12-01-introduction.mdown +++ b/_posts/docs/2010-12-01-introduction.mdown @@ -25,6 +25,39 @@ related: etc Use in non-commercial and personal applications is free. +## Getting started + +Isotope requires jQuery 1.4.3 and greater. + +### Markup + +Isotope works on a container element with a group of similar child items. + +{% highlight html %} + +
+
...
+
...
+
...
+ ... +
+ +{% endhighlight %} + +### Script + +{% highlight javascript %} + +$('#container').isotope({ + // options + itemSelector : '.item', + layoutMode : 'fitRows' +}); + +{% endhighlight %} + +There are a number of [options](options.html) you can specify. Within the options is where you can [set the layout mode](layout-modes.html), [filter items](filtering.html), and [sort items](sorting.html). + ## Code repository %% This project lives on GitHub at.... %% diff --git a/_posts/docs/2010-12-02-getting-started.mdown b/_posts/docs/2010-12-02-getting-started.mdown deleted file mode 100644 index 7339745..0000000 --- a/_posts/docs/2010-12-02-getting-started.mdown +++ /dev/null @@ -1,41 +0,0 @@ ---- - -title: Getting Started -category: docs -layout: doc -related: etc - ---- - -this is how you get started - -Isotope requires jQuery 1.4.3 and greater. - -## Markup - -Isotope works on a container element with a group of similar child items. - -{% highlight html %} - -
-
...
-
...
-
...
- ... -
- -{% endhighlight %} - -## Script - -{% highlight javascript %} - -$('#container').isotope({ - // options - itemSelector : '.item', - layoutMode : 'fitRows' -}); - -{% endhighlight %} - -There are a number of options you can specify. Within the options is where you can set the layout mode, filter items, and sort items. \ No newline at end of file