Smooth scrolling effect á la Google
Heavily inspired by the effect Google+ app for Android uses when scrolling.
First of all, this plugin is based on Chris Coyier's article and Design Fusion's visible plugin. Kudos.
For an explanation of the code, check out those links.
To use this plugin, include this script:
<script src="http://www.ericwenn.se/playground/pullupscroll/pullup.js"></script>
And then initiate it with this code
$("#content").pullupScroll('.box');
Where #content
is the container and .box
is the box the effect should be applied to.