From 89dc7260e74009969d47dbd2d14c0350a15d1565 Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Sat, 26 Feb 2011 16:25:09 -0500 Subject: [PATCH] docs : Troubleshooting : Add Prepending items --- _posts/docs/2010-12-11-troubleshooting.mdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_posts/docs/2010-12-11-troubleshooting.mdown b/_posts/docs/2010-12-11-troubleshooting.mdown index bd33b8b..db003ec 100644 --- a/_posts/docs/2010-12-11-troubleshooting.mdown +++ b/_posts/docs/2010-12-11-troubleshooting.mdown @@ -12,6 +12,7 @@ toc: - { title: @font-face fonts, anchor: fontface_fonts } - { title: CSS transforms in Opera, anchor: css_transforms_in_opera } - { title: Infinite Scroll with filtering or sorting, anchor: infinite_scroll_with_filtering_or_sorting} + - { title: Prepending items, anchor: prepending_items } --- @@ -113,3 +114,6 @@ I recommend against using Infinite Scroll with filtering or sorting. This combin If you do plan on implementing Infinite Scroll with filtering or sorting (which is a _bad idea_), use the `insert` method instead of `appended`. +## Prepending items + +While there is no prepend method built into Isotope, you can add items to the beginning of a Isotope layout by using sorting and [`updateSortData`](methods.html#getsortdata). See [Isotope - prepending items on jsFiddle](http://jsfiddle.net/desandro/zXWkw/4/). \ No newline at end of file