1$(window).on('load',function(){ 2 var locUrl = location.href; 3 var setHash = locUrl.split('#'); 4 //ç¾å¨ã®ãã¼ã¸URLã«#ãå«ã¾ããå ´åã¯ã¹ã¯ãã¼ã«ç§»å 5 if(setHash[1]){ 6 hashMove("#"+setHash[1]); 7 } 8 //#ããå§ã¾ããªã³ã¯ã¯ã¹ã¯ãã¼ã« 9 $('a[href^="#"]').on('click',function() { 10 var href = $(this).attr("href"); 11 var clkUrl = href.split('#'); 12 hashMove("#"+clkUrl[1]); 13 }); 14 //#ãå«ããªã³ã¯ã¯ããªã³ã¯å ã¨ç¾å¨ã®ãã¼ã¸ã®URLãæ¯è¼ãã¦å¤æ 15 $('a[href*="#"]').on('click',function() { 16 var href = $(this).attr("href"); 17 var pageURL = location.pathname; 18 reg = new RegExp(pageURL); 19 //ãã¼ã¸åãåããªãã¹ã¯ãã¼ã«ç§»å 20 if (href.match(reg)) { 21 var clkUrl = href.split('#'); 22 hashMove("#"+clkUrl[1]); 23 } 24 }); 25 26 function hashMove(trg){ 27 var position = $(trg).offset().top; 28 $('body,html').animate({scrollTop:position}, '800', 'swing'); 29 } 30}); 31 32 33jQuery(document).ready(function($) { 34 $('#pageUp a').on('click', function(e) { 35 e.preventDefault(); // ããã©ã«ãã®ãªã³ã¯åä½ã鲿¢ 36 $('html, body').animate({scrollTop: 0}, 500); // ã¹ã ã¼ã¹ã¹ã¯ãã¼ã« 37 }); 38});
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.