1var btn = jQuery('#back-to-top'); 2 3jQuery(window).scroll(function() { 4 if (jQuery(window).scrollTop() > 600) { 5 btn.addClass('show'); 6 } else { 7 btn.removeClass('show'); 8 } 9}); 10 11btn.on('click', function(e) { 12 e.preventDefault(); 13 // Si une table des matières existe sur la page, alors on scroll vers elle, sinon tout en haut de la page 14 if (jQuery("#toc-js-block-toc-js-block").length) { 15 jQuery('html, body').animate({scrollTop: parseInt(jQuery("#toc-js-block-toc-js-block").offset().top - 160)}, 300); 16 } else { 17 jQuery('html, body').animate({scrollTop:0}, '300'); 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.