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

A minimalist jQuery sticky sidebar plugin that makes your sidebar stick to the top of the browser window as you scroll down the web page.

Sticky

Documentation

jQuery Sticky Sidebar

Description

jQuery Sticky Sidebar is a sidebar system developed to work with long and/or infinte scrolling pages. Unlike affix, Sticky Sidebar takes into consideration the length of the fixed container. Checkout the demo

Usage

	$('#sidebar').sticky({ 		container: '#main', 		offset: 0, // { top: 20, bottom: 40 } 	}); 

Default options

	Sticky.defaults = { 		target: window, 		container: 'body', 		offset: 0, 		fixedTopClass: 'fixed-top', 		fixedBottomClass: 'fixed-bottom', 		events: 'scroll resize' 	}; 

You May Also Like