1jQuery(function($){ 2/* 3 $('.btnToPagetop').on('click', function(){ 4 $("html, body").animate({scrollTop:0},1000,"swing"); 5 return false; 6 }); 7*/ 8 9 //$('.upToTop.type02 .btnUpToTop').css({opacity:'0',width:'150%'}); 10 11 $(window).on("scroll", function(){ 12 13 var dispPosi = 400; 14 if($('.isSp').css('width') == '2px'){ 15 dispPosi = 1000; 16 } 17 18 var hide_posi = 0; 19 if($('#entryForm').length > 0){ 20 hide_posi = $('#entryForm').offset().top - $(window).height(); 21 } 22 23 if($(this).scrollTop() > dispPosi){ 24 if(hide_posi > 0 && hide_posi < $(this).scrollTop()){ 25 $('.upToTop').slideUp(); 26 /* 27 if($('.upToTop .btnUpToTop').hasClass('active')){ 28 $('.upToTop .btnUpToTop').removeClass('active'); 29 btn_hide(); 30 } 31 */ 32 } 33 else{ 34 $('.upToTop').slideDown(); 35 /* 36 if(!$('.upToTop .btnUpToTop').hasClass('active')){ 37 $('.upToTop').css('display','inline-block'); 38 var timer2; 39 clearTimeout(timer2); 40 timer2 = setTimeout(function(){ 41 $('.upToTop .btnUpToTop').addClass('active'); 42 },400); 43 } 44 */ 45 } 46 }else{ 47 $('.upToTop').slideUp(); 48 /* 49 if($('.upToTop .btnUpToTop').hasClass('active')){ 50 $('.upToTop .btnUpToTop').removeClass('active'); 51 btn_hide(); 52 } 53 */ 54 } 55 56 $('.upToTop,.boxFooterUpToTop,.btnFooterPageTop').click(function(){ 57 $('body,html').stop().animate({scrollTop:0},1000,"swing"); 58 }); 59 60 }); 61 62 63 64 function btn_hide(){ 65 var timer1; 66 clearTimeout(timer1); 67 timer1 = setTimeout(function(){ 68 $('.upToTop').css('display','none'); 69 },500); 70 } 71 72 73});
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.