1.0.1 • Published 4 years ago
scroll-fixed-header v1.0.1
#ScrollFixedHeader#
##Require##
- JQuery
##Feature## 1. Fixed dom element on the top of window when scrolling. 2. Fixed child on the top of its element when scrolling.
##Usage## new ScrollFixedHeader(el, options);
or
$(el).scrollFixedHeader(options);
##Options## wrapper: jQuery element
css
##Demo## Please see the demo folder in the project
online demo: http://jsfiddle.net/ycscholes/vq2wpre5/1/
##Todo##
- Add className into options
- Optimize code