Simple follow scroll implementation that just works
JavaScript
Switch branches/tags
Nothing to show
Latest commit 122ca6e Oct 8, 2012 @pirelenito Merge pull request #1 from fnmunhoz/master
First option should be top, it is easier to read
Permalink
Failed to load latest commit information.
README.md Top before bottom Offset Oct 8, 2012
jquery.squirrel-scroll.js Top before bottom inline docs Oct 8, 2012

README.md

jquery.squirrel-scroll

Simple 'JQuery follow scroll' implementation that keeps your content visible without using distracting animations.

production demo: http://rocoh.com.br/stocks/bovespa-petr4

Usage

Call the setup method on the element you want allways visible:

$('.element-to-be-always-visible').squirrelScroll();

You can also specify the content offset:

$('.element-to-be-always-visible').squirrelScroll({topOffset: 20, bottomOffset: 20});

Browser compatibility

IE8+, Chrome, Firefox, Safari and Opera.

To Do

  • iPad support;
  • unit testing;