Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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)