1$(function() { 2 var 3 windowWidth = $(window).width(), 4 pcBreakPoint = 1000; 5 6 $('#js-hamburger-btn').on('click', function() { 7 $('#header-menu').stop().fadeToggle(); 8 $('body').toggleClass('open'); 9 }); 10 11 $('#hamburger-close').on('click', function() { 12 $('#header-menu').stop().fadeOut(); 13 $('body').removeClass('open'); 14 }); 15 16 $('#header-nav-category .has-sub-category').on('click', function(e) { 17 if (windowWidth < pcBreakPoint) { 18 e.preventDefault(); 19 $(this).next().stop().slideToggle(); 20 $(this).toggleClass('open'); 21 } 22 }); 23 24 $('#header-member').on('click', function() { 25 $('#header-member-list').stop().slideToggle(); 26 $(this).toggleClass('open'); 27 }); 28 29 $('#header-search').on('keypress', function (e) { 30 if (e.which === 13) { 31 $('#header-search-link')[0].click(); 32 } 33 }); 34 35 // ã«ã¬ã³ãã¼ç¹å®æ¥ã®è¨å® 36 $('.day-list').each(function() { 37 var month = $(this).attr('data-month'); 38 var day = $(this).attr('data-day'); 39 var color = $(this).attr('data-color'); 40
41 $('.makeshop-calendar' + month +' .day' + day).css({ 42 'background-color': color, 43 'color': '#fff', 44 'font-weight': 'bold' 45 }); 46 }); 47 48 // if ($('#side-nav').is(':visible')) { 49 // var sideNavHeight = $('#side-nav').height(); 50 // $('main').css('min-height', $('main').height() < sideNavHeight ? sideNavHeight : 0); 51 // } else { 52 // $('main').css('min-height', 0); 53 // } 54});
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.