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
- Host: GitHub
- URL: https://github.com/patrickmarabeas/jquery-sticky-element
- Owner: patrickmarabeas
- Created: 2013-04-08T05:41:57.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-12-03T11:12:46.000Z (over 12 years ago)
- Last Synced: 2025-08-02T21:50:01.947Z (11 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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();