1$(window).on('load scroll', function() { 2 "use strict"; 3 4 var pos = $(window).scrollTop(); 5 if ( pos > 500 ) { 6 $('#page-top').fadeIn(); 7 } else { 8 $('#page-top').fadeOut(); 9 } 10}); 11 12$(function(){ 13 "use strict"; 14 15 var speed = 500; 16 17 $('a[href^="#"]').on('click', function(){ 18 var href= $(this).attr("href"); 19 var target = $(href === "#" || href === "" ? 'html' : href); 20 var position = target.offset().top; 21 $("html, body").animate({scrollTop:position}, speed, "swing"); 22 return false; 23 }); 24 25 $('#page-top').on('click', function(){ 26 $("html, body").animate({scrollTop:0}, speed, "swing"); 27 return false; 28 }); 29}); 30 31// è¨å®éå§ï¼ã¹ã¯ãã¼ã«ã®åããè¨å®ãã¦ãã ããï¼ 32 33var scroll_speed = 50; // ã¹ã¯ãã¼ã«ã®ã¹ãã¼ãï¼1ã«è¿ãã»ã©éãï¼ 34var move = 1; // ã¹ã¯ãã¼ã«ã®ãªããããï¼1ã«è¿ãã»ã©ãªãããã«ï¼ 35 36// è¨å®çµäº 37 38 39function scrollbox() { 40 41 /*var target = document.getElementById('js_hot_item_wrap'); 42 var current = target.scrollTop; 43 44 target.scrollTop = current + move; 45 46 var rep = setTimeout("scrollbox()", scroll_speed); 47 48 target.addEventListener('mouseenter', function() { 49 move = 0; 50 }, false); 51 52 target.addEventListener('mouseleave', function() { 53 move = 1; 54 }, false);*/ 55 56}
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.