🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

positionSticky is a small jQuery plugin used to make any Html elements always stay visible as you scroll down the page.

Sticky

Documentation

jQuery.positionSticky

This is a jQuery plugin definition for the vanilla PositionSticky library. For code metrics, unit tests, issues please refer to the PositionSticky library.

Usage

 -------------------------- => window  |   --------------------   | |  |              ---   |==|=> container |  |             |   |  |  | |  |             |   |==|==|=> sticky   |  |              ---   |  | |  |                    |  | |  |                    |  | |  |                    |  | |  |                    |  | |   --------------------   | |   --------------------   | |  |                    |  | |  |                    |  |  
$('#sticky').positionSticky();  

Examples

Browser Support

  • Chrome
  • Firefox
  • Safari
  • IE9+

You May Also Like