Fixto

A jQuery plugin for sticky positioning. Fix containers to the viewport relative to an ancestor. When the container is fixed, it will receive the class name fixto-fixed. You may use this class or you may pass any other class name as an option.

Doesn’t work on elements having margin:auto. You will need an additional wrapper around the element. This is because webkit differs from other browsers about reporting the computed margin values.

Similar Posts