Skip to content

a quick jQuery based js script that will take in a header div and only show it when

Notifications You must be signed in to change notification settings

clamstew/awesome-header-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Header Scroll

Demo: See it in action

Customize: Make your custom code here

Based on sites like the current homepage of flowdock.com and similarly the way the Google Search app acts on iOS, this small js snippet aims to help you grab the header on you HTML page and only show the header when the user has scrolled past 600px, and only when the user scrolls up. When the user start scrolling down it will slide up again often at the same rate the user scrolls.

It uses .animate in jQuery to make the whole script slide off the top of the screen.


Dependency

  • jQuery (0.7+)

About

a quick jQuery based js script that will take in a header div and only show it when

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published