README
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.