1$(document).scroll(function(){ 2 //debugger; 3 // grab the scroll amount and the window height 4 var scrollAmount = $(window).scrollTop(); 5 var documentHeight = $(document).height(); 6 7 // calculate the percentage the user has scrolled down the page 8 var scrollPercent = (scrollAmount / documentHeight) * 200; 9 10 11 12 //function increaseHeight() { 13 $(".arrow").css({ 14 height: scrollPercent + '%' 15 }); 16 //} 17 18 //do something when a user gets 50% of the way down my page 19 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.