Tether is a comprehensive JavaScript library for anchoring elements to other elements, as well as the browser viewport. It can be used with or without jQuery.
Tether is a comprehensive javascript library for anchoring elements to other elements, as well as the browser viewport. It can be used with or without jquery.
It can be used to create "sticky" headers or footers to maintain an element's visibility in the viewport, or anchor an absolutely positioned element to another when a container or the page is scrolled.
A less feature-rich but more lightweight alternative is Sticky Kit.
Links: