1jQuery(document).ready(function ($) { 2 // Add smooth scrolling to all links 3 $(".sfm-floating-menu a").on('click', function (event) { 4 // Store hash 5 var hash = this.hash; 6 // Make sure this.hash has a value before overriding default behavior 7 if (hash !== "" && $(hash).length > 0) { 8 // Prevent default anchor click behavior 9 event.preventDefault(); 10 11 // Using jQuery's animate() method to add smooth page scroll 12 // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area 13 $('html, body').animate({ 14 scrollTop: $(hash).offset().top 15 }, 800, function () { 16 17 // Add hash (#) to URL when done scrolling (default click behavior) 18 window.location.hash = hash; 19 }); 20 } // End if 21 }); 22});
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.