0.3.0 • Published 9 years ago

sticky-header v0.3.0

Weekly downloads
524
License
MIT
Repository
github
Last release
9 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

9 years ago

0.2.1

11 years ago

0.1.2

11 years ago

0.2.0

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago