1jQuery(function($) { 2 // get parallax image scroll position 3 let parallaxImage = $(".page-header-part-image-wrapper img"); 4 5 let imageBottomPos = parallaxImage.outerHeight(); 6 7 // Scroll event 8 $(window).scroll(function() { 9 imageBottomPos = parallaxImage.outerHeight(); 10 let pageScroll = $(window).scrollTop(); 11 12 // Hide image if scrolled over 13 if (pageScroll > imageBottomPos) { 14 parallaxImage.css("display", "none"); 15 // Else: show the image 16 } else { 17 parallaxImage.css("display", "block"); 18 } 19 }); 20});
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.