waypoint-watcher
Watch for scrollTop events etc
Usage
var WW = ;WW$ = jQuery; // Or zepto! var watcher = 'scroll'; // 100px from top of windowwatcher; // Use a jquery element as a anchorvar $section = ;var section = 'scroll' $section; section; // Percentages!var sectionPercentage = 'scroll' $section { // Uses this as the base for the percentage. I.e. // percentage = offset / {base}; return $sectiontop;};sectionPercentage; // Ranges!var $overlay = ;section;