1// pages scroll 2$(function(){ 3 $('a[href^="#"]').click(function(){ 4 const speed = 500; 5 const href= $(this).attr("href"); 6 const target = $(href == "#" || href == "" ? 'html' : href); 7 const position = target.offset().top - 100; 8 $("body,html").animate({scrollTop:position}, speed, "swing"); 9 10 const check_sts = $("#global_nav_checkbox").prop("checked"); 11 if(check_sts){ 12 $("#global_nav_checkbox").prop("checked", false); 13 }else{ 14 $("#global_nav_checkbox").prop("checked", true); 15 } 16 return false; 17 }); 18});
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.