1$(function() { 2 var _window = $(window), 3 _header = $('header'); 4 5 _window.on('scroll', function() { 6 if(_window.scrollTop() > 20){ 7 _header.addClass('fixed'); 8 } else { 9 _header.removeClass('fixed'); 10 } 11 }); 12 13 // ã¹ããã¡ãã¥ã¼ 14 $('.sp-menunavi').on('click', function() { 15 var openClass = '.sub-categories'; 16 if ($(this).hasClass('campaign-title')) { 17 openClass = '.campaign-list'; 18 } else if($(this).hasClass('sp-menu')) { 19 openClass = '.sp-menu-hide'; 20 } 21 if ($(this).hasClass('open')) { 22 $(this).removeClass('open'); 23 $(this).children('.menunavi-arrow').removeClass('up'); 24 $(this).next(openClass).removeClass('open'); 25 } else { 26 $('.menunavi-wrap').find('.menunavi-arrow').removeClass('up'); 27 $('.menunavi-wrap').find('.open').removeClass('open'); 28 $(this).addClass('open'); 29 $(this).children('.menunavi-arrow').addClass('up'); 30 $(this).next(openClass).addClass('open'); 31 } 32 }); 33 34 // ãããã¼ã¡ãã¥ã¼ 35 $('.nav-item').on('click', function() { 36 var isOpen = $(this).hasClass('now'); 37 38 $('.menunavi-wrap').find('.menunavi-arrow').removeClass('up'); 39 $('.menunavi-wrap').find('.open').removeClass('open'); 40 $('.nav-item').removeClass('now'); 41 $('.head-nav-icon').removeClass('up'); 42 $('.menunavi-wrap').removeClass('open'); 43 $('.menunavi').removeClass('open'); 44 45 if (!isOpen) { 46 var menuClass = $(this).attr('class').split(' ')[1]; 47 switch (menuClass) { 48 case 'nav-items': 49 $('.menunavi-items').addClass('open'); 50 break; 51 case 'nav-guide': 52 $('.menunavi-guide').addClass('open'); 53 break; 54 case 'nav-contents': 55 $('.menunavi-contents').addClass('open'); 56 break; 57 case 'nav-account': 58 $('.menunavi-account').addClass('open'); 59 break; 60 case 'search-icon': 61 $('.menunavi-search').addClass('open'); 62 break; 63 case 'menu-icon': 64 $('.menunavi-wrap').addClass('open'); 65 break; 66 default: 67 break; 68 } 69 $(this).addClass('now'); 70 $(this).find('.head-nav-icon').addClass('up'); 71 } 72 }); 73 74 75 // æ¤ç´¢ãã©ã¼ã 76 $('.nav-search-input, .search-keyword2').on('keypress', function(e) { 77 if (e.keyCode == 13) { 78 $('.search-btn-link, .material-icons2')[0].click(); 79 } 80 }); 81 $('.sp-search-input').on('keypress', function(e) { 82 if (e.keyCode == 13) { 83 $('.sp-search-btn-link')[0].click(); 84 } 85 }); 86 87 // ã«ã¬ã³ãã¼ 88 $('.calendar-slick').slick({ 89 infinite: false, 90 prevArrow: '<span class="slick-arrow slick-prev material-icons">arrow_left</span>', 91 nextArrow: '<span class="slick-arrow slick-next material-icons">arrow_right</span>' 92 }); 93 $('.day-list').each(function() { 94 var month = $(this).attr('data-month'); 95 var day = $(this).attr('data-day'); 96 var color = $(this).attr('data-color'); 97
98 $('.makeshop-calendar' + month +' .day' + day).css({ 99 'background-color': color, 100 'color': '#fff', 101 'font-weight': 'bold' 102 }); 103 }); 104 105 // WebFont 106 WebFontConfig = { 107 google: { 108 families: ['Noto+Sans+JP', 'Lato', 'Poppins'] 109 } 110 }; 111 (function (d) { 112 var wf = d.createElement('script'), s = d.scripts[0]; 113 wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js'; 114 wf.async = true; 115 s.parentNode.insertBefore(wf, s); 116 })(document); 117}); 118/*/ Mycase2025 追å */ 119// ãã¼ã¸ãããã¸æ»ããã¿ã³ 120$(function(){ 121 var pagetop = $('#page-top'); 122 pagetop.hide(); 123 $(window).scroll(function () { 124 if ($(this).scrollTop() > 100) { 125 pagetop.fadeIn(); 126 } else { 127 pagetop.fadeOut(); 128 } 129 }); 130 pagetop.click(function () { 131 $('body, html').animate({ scrollTop: 0 }, 500); 132 return false; 133 }); 134}); 135// æ¤ç´¢Enterãã¼ãã¹ãã // 136
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.