Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/travishorn/jquery-headerpersist
Locks a header to the top of the page only when user is scrolling within it's parent container.
https://github.com/travishorn/jquery-headerpersist
Last synced: 28 days ago
JSON representation
Locks a header to the top of the page only when user is scrolling within it's parent container.
- Host: GitHub
- URL: https://github.com/travishorn/jquery-headerpersist
- Owner: travishorn
- Created: 2012-02-02T18:09:54.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2015-02-25T21:53:35.000Z (almost 10 years ago)
- Last Synced: 2024-04-14T11:56:23.276Z (9 months ago)
- Language: HTML
- Homepage: http://travishorn.github.com/jquery-headerPersist
- Size: 96.7 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# headerPersist
## Description
Locks a header to the top of the page only when user is scrolling within it's parent container.Open example.html for example usage.
## Required HTML
Header 1
Lorem ipsum dolor sit amet...
## Required JavaScript
$('.persistMe').headerPersist();## Links
* [Online Demo](http://jsfiddle.net/6U7zf/)
* [Screenshots](https://sites.google.com/site/tpopsjqueryplugins/headerpersist/screenshots)