Stickr.js
is a jQuery plugin that helps you create multiple sticky elements on a page and comes with a robust set of options that allows anyone to make it work great on their setup. It is designed to allow an element to stick to the top of the screen as while scrolling without moving outside of the parent container or the container set in the options.
Stickr.js
is designed to allow an element to stick to the top of the screen as page scrolls down, but without moving outside of the parent container.
Demo + Documentation: http://banago.github.io/Stickr.js/
If you've got any questions or suggestions about Stickr.js, you should create an issue here.