0.3.0 • Published 8 years ago

sticky-header v0.3.0

Weekly downloads
524
License
MIT
Repository
github
Last release
8 years ago

###Usage:

// commonjs
var sticky = require('sticky-header');
	
// or directly include the script then 'sticky' will be global
	
var nav = document.getElementById('nav')
// make '.nav' stick to the top
sticky(nav);

// make '.nav' stick to top 100px
sticky(nav, 100);

###Example:

See http://ltebean.github.io/sticky-header

0.3.0

8 years ago

0.2.1

9 years ago

0.1.2

9 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago