1$(document).ready(function() { 2 const $scrollToTopBtn = $("#scroll-to-top-btn"); 3 4 // Hide initially 5 $scrollToTopBtn.hide(); 6 7 // Show/hide on scroll 8 $(window).on("scroll", function() { 9 if ($(this).scrollTop() > 300) { 10 $scrollToTopBtn.fadeIn(); 11 } else { 12 $scrollToTopBtn.fadeOut(); 13 } 14 }); 15 16 // Scroll to top on click 17 $scrollToTopBtn.on("click", function() { 18 $("html, body").animate({ scrollTop: 0 }, "smooth"); 19 }); 20}); 21
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.