A jQuery plugin for 'locking' short content in place as the user scrolls by longer content. For example, it will lock metadata and share buttons in place as the user scrolls by a long essay or series of images.
For documentation, usage and examples please see http://zamiang.github.io/jquery.poplockit.
Note how the kitten stays as you scroll through the body of the post
Create html like this
Apply the popLockIt plugin
$'#feed'popLockItfeedItems : $'#feed > article'columnSelector : '> .column';
Contributions and pull requests are very welcome. Please follow these guidelines when submitting new code.
npm install -g gruntfor Grunt
brew install phantomjsfor PhantomJS
npm installto install dependencies
grunt(compiles coffeescripts and runs tests)
grunt watchwhile editing files to auto-compile coffeescripts and run tests
grunt jasmineto see if tests fail.
gruntto compile new dist and make sure nothing is broken