1(function($) { 2$(function(){ 3 function pagelink(heightnum){ 4 var headerHight = heightnum; 5 $("a[href^=#]").click(function(){ 6 var href= $(this).attr("href"); 7 var target = $(href == "#" || href == "" ? "body" : href); 8 var position = target.offset().top-headerHight; 9 $("html, body").animate({scrollTop:position}, 500, "swing"); 10 //return false; 11 }); 12 /* outpagelink */ 13 var url = $(location).attr("href"); 14 if (url.indexOf("?id=") == -1) { 15 16 }else{ 17 var url_sp = url.split("?id="); 18 var hash = "#" + url_sp[url_sp.length - 1]; 19 var target2 = $(hash); 20 var position2 = target2.offset().top-headerHight; 21 $("html, body").animate({scrollTop:position2}, 500, "swing"); 22 } 23 } 24 //ã¹ããã®æã®è¨å® 25 var windowWidth = $(window).width(); 26 var windowSm = 768; 27 if (windowWidth <= windowSm) { 28 //æ¨ªå¹ 768px以ä¸ã®ã¨ãã«è¡ãå¦çãæ¸ã 29 pagelink(65); 30 } else { 31 //æ¨ªå¹ 768pxè¶ ã®ã¨ãã«è¡ãå¦çãæ¸ã 32 pagelink(110); 33 } 34}); 35})(jQuery);
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.