1var target = ''; 2 3if(target!="") { 4 $(document).ready(function() { 5 if($("#"+target)) { 6 var pos = $("#"+target).offset(); 7 if(pos) { 8 var scrollpos = pos.top - 105; 9 //$(document).scrollTop(scrollpos); 10 $("html, body").animate({scrollTop: scrollpos}, 900); 11 } 12 else { 13 console.error('ID '+href+' not found in DOM'); 14 } 15 } 16 }); 17} 18 19$(document).ready(function() { 20 $("a[href^='#']").click(function(e) { 21 var href = $(this).attr("href"); 22 if($(href)) { 23 e.preventDefault(); 24 var pos = $(href).offset(); 25 if(pos) { 26 var scrollpos = pos.top - 105; 27 //$(document).scrollTop(scrollpos); 28 $("html, body").animate({scrollTop: scrollpos}, 900); 29 } 30 else { 31 console.error('ID '+href+' not found in DOM'); 32 } 33 } 34 }) 35})
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.