1$(function(){ 2 //ãã¿ã³[id:page-top]ãåºç¾ãããã¹ã¯ãã¼ã«ã¤ãã³ã 3 $(window).scroll(function(){ 4 //æä¸é¨ããç¾å¨ä½ç½®ã¾ã§ã®è·é¢ãåå¾ãã¦ã夿°[now]ã«æ ¼ç´ 5 var now = $(window).scrollTop(); 6 7 //æä¸é¨ããç¾å¨ä½ç½®ã¾ã§ã®è·é¢ãè¨ç®ãã¦ã夿°[under]ã«æ ¼ç´ 8 var under = $('body').height() - (now + $(window).height()); 9 10 //æä¸é¨ããç¾å¨ä½ç½®ã¾ã§ã®è·é¢(now)ã100以ä¸ã㤠11 //æä¸é¨ããç¾å¨ä½ç½®ã¾ã§ã®è·é¢(under)ã0px以ä¸ã ã£ãã 12 if(now > 100){ 13 //[#page-top]ããã£ãããã§ã¼ãã¤ã³ãã 14 $('#page-top').fadeIn('slow'); 15 //ãã以å¤ã ã£ãããã§ã¼ãã¢ã¦ããã 16 }else{ 17 $('#page-top').fadeOut('slow'); 18 } 19 }); 20 21 //ãã¿ã³(id:move-page-top)ã®ã¯ãªãã¯ã¤ãã³ã 22 $('#move-page-top').click(function(){ 23 //ãã¼ã¸ãããã¸ç§»åãã 24 $('html,body').animate({scrollTop:0},'slow'); 25 }); 26});
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.