1var windw_size = ''; 2 3$(function() { 4 if($(window).width() > 959) { 5 windw_size = 'pc'; 6 } else if($(window).width() > 639) { 7 windw_size = 'tab'; 8 } else { 9 windw_size = 'sp'; 10 } 11 12/* é«ãæã */ 13 $(window).on('load',function(){ 14 if($('.heightAll').length) $('.heightAll').flatHeightAll(); 15 if($('.heightAll02').length) $('.heightAll02').flatHeightAll(); 16 if($('.heightAll03').length) $('.heightAll03').flatHeightAll(); 17 if($('.heightAll04').length) $('.heightAll04').flatHeightAll(); 18 if($('.heightAll05').length) $('.heightAll05').flatHeightAll(); 19 if($('.heightAll06').length) $('.heightAll06').flatHeightAll(); 20 if($('.heightAll07').length) $('.heightAll07').flatHeightAll(); 21 if($('.heightAll08').length) $('.heightAll08').flatHeightAll(); 22 $(window).resize(function(){ 23 if($('.heightAll').length) $('.heightAll').flatHeightAll(); 24 if($('.heightAll02').length) $('.heightAll02').flatHeightAll(); 25 if($('.heightAll03').length) $('.heightAll03').flatHeightAll(); 26 if($('.heightAll04').length) $('.heightAll04').flatHeightAll(); 27 if($('.heightAll05').length) $('.heightAll05').flatHeightAll(); 28 if($('.heightAll06').length) $('.heightAll06').flatHeightAll(); 29 if($('.heightAll07').length) $('.heightAll07').flatHeightAll(); 30 if($('.heightAll08').length) $('.heightAll08').flatHeightAll(); 31 }); 32 }); 33 34/* ãã¼ã¸ããã */ 35 $(window).scroll(function(){ 36 if ($(window).scrollTop() > $('.main__contents').height() - $(window).height()) { 37 $('.float_bnr').stop().fadeTo(200, 0, function(){ 38 $('.float_bnr').hide(); 39 }); 40 } else { 41 $('.float_bnr').stop().fadeTo(300, 1); 42 } 43 }).scroll(); 44 45 46/* ã¹ã ã¼ãºã¹ã¯ãã¼ã« */ 47 // ã¹ã¯ãã¼ã«ã®ãªãã»ããå¤ 48 var offsetY = 0; 49 // ã¹ã¯ãã¼ã«ã«ãããæé 50 var time = 500; 51 52 // ãã¼ã¸å ãªã³ã¯ã®ã¿ãåå¾ 53 $('a[href^="#"]').click(function() { 54 // ç§»åå ã¨ãªãè¦ç´ ãåå¾ 55 var target = $(this.hash); 56 if (!target.length) return ; 57 // ç§»åå ã¨ãªãå¤ 58 offsetY = -$('.header').height(); 59 if($('.anchor').length && $(window).width() > 599) { 60 offsetY -= $('.anchor').height(); 61 } 62 var targetY = target.offset().top+offsetY; 63 // ã¹ã¯ãã¼ã«ã¢ãã¡ã¼ã·ã§ã³ 64 $('html,body').animate({scrollTop: targetY}, time, 'swing'); 65 // ããã·ã¥æ¸ãæãã¨ã 66 window.history.pushState(null, null, this.hash); 67 // ããã©ã«ãã®å¦çã¯ãã£ã³ã»ã« 68 return false; 69 }); 70 71/* gnavsp */ 72 var gnav_position = $('.gnav').offset().top; 73 $(window).scroll(function(){ 74 if ($(window).scrollTop() > gnav_position) { 75 $('.gnav').addClass('fixed'); 76 } else { 77 $('.gnav').removeClass('fixed'); 78 } 79 }); 80 $('.header .menu a').click(function(){ 81 $('.gnav').stop().fadeToggle(); 82 return false; 83 }); 84});
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.