1$(function () { 2 $('a[href^=#]').click(function(){ 3 var headerHight = $("#headerFrame").innerHeight(); 4 var href= $(this).attr("href"); 5 var target = $(href == "#" || href == "" ? 'html' : href); 6 var position = target.offset().top-headerHight; 7 $("html,body").animate({scrollTop:position}, 550, "swing"); 8 return false; 9 }); 10 11 var thisUrl = $(location).attr('href'); 12 if ( ~thisUrl.indexOf("#") ) { 13 var headerHight = $("#headerFrame").innerHeight(); 14 var url_sp = thisUrl.split("#"); 15 var target = $('#' + url_sp[url_sp.length - 1]); 16 var position = target.offset().top-headerHight; 17 $("html,body").animate({scrollTop:position}, 550, "swing"); 18 return false; 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.