1/* ä¸ã«ã¹ã¯ãã¼ã« */ 2 3 4$(function(){ 5 $("a[href^=#]").click(function(){ 6 $("html,body").animate({ scrollTop: $($(this).attr("href")).offset().top }, 2000 ,"swing"); 7 return false; 8 }) 9}); 10 11 12 13/* 追尾ã¹ã¯ãã¼ã«(ä¸ã«ã¹ã¯ãã¼ã«) */ 14 15 16$(document).ready(function(){ 17 18 $(".gotop").hide(); 19 20 $(window).on("scroll", function() { 21 22 if ($(this).scrollTop() > 200) { 23 $('.gotop').slideDown("slow"); 24 } else { 25 $('.gotop').slideUp("slow"); 26 } 27 28 scrollHeight = $(document).height(); 29 scrollPosition = $(window).height() + $(window).scrollTop(); 30 footHeight = $("#footer").innerHeight(); 31 32 if ( scrollHeight - scrollPosition <= footHeight ) { 33 $(".gotop").css({ 34 "position":"absolute", 35 "bottom": footHeight 36 }); 37 } else { 38 $(".gotop").css({ 39 "position":"fixed", 40 "bottom": "0px" 41 }); 42 } 43 }); 44 45 $('.gotop a').click(function () { 46 $('body,html').animate({ 47 scrollTop: 0 48 }, 2000); 49 return false; 50 }); 51});
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.