An open API service indexing awesome lists of open source software.

https://github.com/patrickmarabeas/jquery-sticky-element

jQuery plugin for sticky header or navigation
https://github.com/patrickmarabeas/jquery-sticky-element

Last synced: 10 months ago
JSON representation

jQuery plugin for sticky header or navigation

Awesome Lists containing this project

README

          

# Sticky Element

### jQuery plugin for sticky elements

Can be applied to an element via data attributes:



Or via the usual:

$(document).ready(function() {

$("#navigation_area").stickyElem();

});

Can be destroyed, initiated and reset with:

$("#navigation_area").data('stickyElem').destroy();
$("#navigation_area").data('stickyElem').init();
$("#navigation_area").data('stickyElem').reset();