1/*ããããã¼ã¸ã¸*/ 2$(function() { 3 var topBtn = $('#page-top'); 4 topBtn.hide(); 5 $(window).scroll(function () { 6 if ($(this).scrollTop() > 100) { 7 topBtn.fadeIn(); 8 } else { 9 topBtn.fadeOut(); 10 } 11 }); 12 topBtn.click(function () { 13 $('body,html').animate({ 14 scrollTop: 0 15 }, 500); 16 return false; 17 }); 18}); 19 20/*ã¹ãããã¼ã¸å ãªã³ã¯*/ 21$(function() { 22 $('a[href*=#]:not([href=#])').click(function() { 23 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { 24 var target = $(this.hash); 25 target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); 26 if (target.length) { 27 $('html,body').animate({ 28 scrollTop: target.offset().top 29 }, 500); 30 return false; 31 } 32 } 33 }); 34});
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.