Preview Release of Batch and Viewable
I just checked in two new plugins: Batch and Viewable.
Batch is a plugin that allows you to batch the results of any jQuery method, plugin into an array. I know this has been brought up on the list a few times and I believe several other libs provide this functionality. By default the batch plugin aliases the getter methods in jQuery by adding an 's' to the end (attrs, offsets, vals ...). You can all just call $(...).batch('methodName', arg1, arg*n).
<a href="http://brandonaaron.net/jquery/plugins/batch/">http://brandonaaron.net/jquery/plugins/batch/</a>
The viewable plugin allows you to know when an element is in view and what percentage of the element is viewable. Actually I wrote the viewable plugin a while back ... finally getting around to checking it in. :)
<a href="http://brandonaaron.net/jquery/plugins/viewable/">http://brandonaaron.net/jquery/plugins/viewable/</a>
Once I get the docs done I'll do an official release of each.
--
Brandon Aaron