smartbar is a sticky navbar/header that appears only when the user scrolls up
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
dist
src
.gitignore
.jshintrc
README.md
bower.json
gulpfile.js
package.json

README.md

smartbar

smartbar is a sticky navbar/header that appears only when the user scrolls up developed originally for another project of mine: defprogramming.com.

It is written in pure JavaScript and for now it has only two parameters: the header element and the offset start in pixels that will hide the header.

smartBar.init(document.getElementById('smartbar'), 200);

development

gulp

License

"THE BEER-WARE LICENSE" (Revision 42):

As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.