Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (13 sloc) 0.571 kb

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;
Jump to Line
Something went wrong with that request. Please try again.