Make content sticky on scroll to a point

Trevor Davis, a front-end developer has made a really cool and helpful plugin to make any content sticky on scroll that stops at a certain point (similar to the functionality that is on 9gag). The jQuery plugin can easily be added to your project supporting several options to get you started.

Options include the item you want to scroll, the parent container that you want the sticky content to placed, class added to the sticky item once it should start being sticky, class added to the sticky item once it has reached the end of the container and a couple more. Keep in mind that some small modifications to the CSS file are also required.

The plugin is free of charge and can be found on GitHub. A demo of the plugin can be found here.

Make content sticky on scroll to a point

Fix scroll jQuery plugin

View/Download Plugin

Related Posts

jQuery pagination plugin – tradpaginator

HorizontalNav : jQuery plugin that spans a horizontal navigation

jQuery plugin to organize content in a responsive layout

jQuery plugin for modal boxes and popups

Leave a Reply