Multipurpose jQuery Plugin For Sticky Elements - KeepInSight

File Size: 19 KB
Views Total: 758
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Multipurpose jQuery Plugin For Sticky Elements - KeepInSight

Just another jQuery plugin that provides a simplest way to make any Html elements (navigation, sidebar, table header) stick to the top of the webpage while scrolling.

How to use it:

1. Load the jQuery KeepInSight plugin after jQuery library, but before the closing body tag.

<script src="//"></script>
<script src="jquery.keepinsight.js"></script>

2. Call the plugin on the html elements to make anything stick at the top of the page when scrolled.

jQuery('header, table thead').keepInSight();

3. Destroy the plugin.


Change log:


  • Stickies are sorted in document order to make sure they always stack-up correctly.


  • 'keepInSight' can be switched off.

This awesome jQuery plugin is developed by powderblue. For more Advanced Usages, please check the demo page or visit the official website.