1jQuery(document).ready(function($) { 2 3 4 $('.menu-btn').on('click',function(e){ 5 e.preventDefault(); 6 $("html, body").animate({ 7 scrollTop: $("#dtn-menu").offset().top 8 }, 300); 9 }); 10 11 $('.scrolltop-btn').on('click',function(e){ 12 e.preventDefault(); 13 $("html, body").animate({ 14 scrollTop: 0 15 }, 300); 16 }); 17 18 $(window).scroll(function() { 19 if ($(window).scrollTop() > 0) { 20 if (!$('body').hasClass('scrolled')) { 21 $('body').addClass("scrolled"); 22 } 23 } else { 24 $('body').removeClass("scrolled"); 25 } 26 }); 27 $(window).trigger('scroll'); 28 29 // scrolling in order to display beneath header 30 if (window.location.href.indexOf("#comment") > -1) { 31 window.scrollBy(0, -129); 32 } 33 34 $('#writeComment .email-address').hide(); 35 36});
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.