Browse Source

docs : help : getting item position

pull/150/head
David DeSandro 13 years ago
parent
commit
be89bc7519
  1. 5
      _posts/docs/2011-12-11-help.mdown

5
_posts/docs/2011-12-11-help.mdown

@ -10,6 +10,7 @@ toc:
- { title: Images, anchor: images }
- { title: @font-face fonts, anchor: fontface_fonts }
- { title: Problems with CSS transforms, anchor: css-transforms }
- { title: Getting item position, anchor: getting_item_position }
- { title: Accessing the instance, anchor: accessing_the_instance }
- { title: CSS transforms in Opera, anchor: css_transforms_in_opera }
- { title: Infinite Scroll with filtering or sorting, anchor: infinite_scroll_with_filtering_or_sorting}
@ -116,6 +117,10 @@ $('#container').isotope({
{% endhighlight %}
## Getting item position
CSS transforms will break previous patterns for getting the position of an item. See the [`itemPositionDataEnabled`](options.html#itempositiondataenabled) option for a stop-gap.
## Accessing the instance
[Similar to jQuery UI](http://docs.jquery.com/UI_Developer_Guide#Internal_functions_.26_scopes_explained), Isotope stores a instance containing properties, settings and methods with jQuery.data. You can access the instance with the `'isotope'` namespace.

Loading…
Cancel
Save