Stickish
Instagram Sticky Header for Web
Basic Usage:
.sticky
are the target elements you want to behave like instagram sticky headers.
$(document).ready(function() { // initialize plugin $('.sticky').stickish(); });
... and for its Basic stylesheet you can add:
<link href="path_to/stickish.css" rel="stylesheet">
Roadmap:
- On resize re-init stickish