1$(function() { 2 // ã¹ã¯ãã¼ã«ã®ãªãã»ããå¤ 3 var offsetY = -10; 4 // ã¹ã¯ãã¼ã«ã«ãããæé 5 var time = 500; 6 7 // ãã¼ã¸å ãªã³ã¯ã®ã¿ãåå¾ 8 $('a[href^=#]').click(function() { 9 // ç§»åå ã¨ãªãè¦ç´ ãåå¾ 10 var target = $(this.hash); 11 if (!target.length) return ; 12 // ç§»åå ã¨ãªãå¤ 13 var targetY = target.offset().top+offsetY; 14 // ã¹ã¯ãã¼ã«ã¢ãã¡ã¼ã·ã§ã³ 15 $('html,body').animate({scrollTop: targetY}, time, 'swing'); 16 // ããã·ã¥æ¸ãæãã¨ã 17 window.history.pushState(null, null, this.hash); 18 // ããã©ã«ãã®å¦çã¯ãã£ã³ã»ã« 19 return false; 20 }); 21});
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.