Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ymschaap/jquery-lockfixed
jQuery lockfixed plugin
https://github.com/ymschaap/jquery-lockfixed
javascript jquery jquery-plugin position-sticky scrolling
Last synced: 3 months ago
JSON representation
jQuery lockfixed plugin
- Host: GitHub
- URL: https://github.com/ymschaap/jquery-lockfixed
- Owner: ymschaap
- License: mit
- Created: 2013-01-27T16:07:08.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-03-17T08:27:48.000Z (almost 8 years ago)
- Last Synced: 2024-10-01T16:48:02.910Z (4 months ago)
- Topics: javascript, jquery, jquery-plugin, position-sticky, scrolling
- Language: JavaScript
- Size: 236 KB
- Stars: 67
- Watchers: 2
- Forks: 26
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
## lockfixed jQuery plugin
lockfixed is a jQuery plugin which allows for DOM elements to be positioned anywhere on the page, and lock within the user's viewport when scrolling. Common use case is a menu under a header, which on scrolling stays within the viewport and doesn't overflow the footer.
Degrades nicely on mobile and tablet browsers and doesn't have any CSS prerequisites.
### Setup and demo
$.lockfixed(".menu");
or
$.lockfixed(".menu",{offset: {top: 10, bottom: 100}});
See [demo](http://www.directlyrics.com/code/lockfixed/demo.html).
### Documentation
Find the [documentation](http://www.directlyrics.com/code/lockfixed/).
### Problems?
Just send me a message via @yvoschaap or yvo [@] yvoschaap.com.
### License
lockfixed is released under the MIT license. See the [license](http://www.directlyrics.com/code/lockfixed/license.txt) for details.
## Keywords for repository search:
lockfixed, sticky, scroll, set, element, lock, fixed, lock fixed