Browse Source

docs : Troubleshooting : Add Prepending items

pull/27/head
David DeSandro 14 years ago
parent
commit
89dc7260e7
  1. 4
      _posts/docs/2010-12-11-troubleshooting.mdown

4
_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/).
Loading…
Cancel
Save