¡@

Home 

2014/10/16 ¤W¤È 12:03:39

jquery Programming Glossary: handlescroll

stellar.js - configuring offsets / aligning elements for a vertical scrolling website?

http://stackoverflow.com/questions/11051650/stellar-js-configuring-offsets-aligning-elements-for-a-vertical-scrolling-we

var later function timeout null func.apply context args clearTimeout timeout timeout setTimeout later wait handleScroll function var scrollTop window .scrollTop sectionIndex Math.round scrollTop 40 self. sections.first .outerHeight activeSection.. .unbind 'scroll.stellarsite' if scrollLeft 0 window .unbind 'scroll.stellarsite' .bind 'scroll.stellarsite' debounce handleScroll 500 else 'html body' .animate scrollLeft activeSection.offset .left 40 600 'easeInOutExpo' function setTimeout function.. function setTimeout function window .unbind 'scroll.stellarsite' .bind 'scroll.stellarsite' debounce handleScroll 500 10 window .bind 'mousewheel' function 'html body' .stop true true document .bind 'keydown' function e var key..

More efficient way to handle $(window).scroll functions in jquery?

http://stackoverflow.com/questions/7392058/more-efficient-way-to-handle-window-scroll-functions-in-jquery

.scroll function if scrollTimer clearTimeout scrollTimer clear any previous pending timer scrollTimer setTimeout handleScroll 500 set new timer function handleScroll scrollTimer null var headerBottom 165 var fcHeight #pnlMainNavContainer .height.. scrollTimer clear any previous pending timer scrollTimer setTimeout handleScroll 500 set new timer function handleScroll scrollTimer null var headerBottom 165 var fcHeight #pnlMainNavContainer .height var ScrollTop window .scrollTop if ScrollTop..