1$(function() { 2 // ãããã¼ã®ãµã¤ãºèª¿æ´ 3 headerAdjust(); 4 $(window).on('scroll', function() { 5 headerAdjust(); 6 }); 7 8 // ã«ã¬ã³ãã¼ç¹å®æ¥ã®è¨å® 9 $('.day-list').each(function() { 10 var month = $(this).attr('data-month'); 11 var day = $(this).attr('data-day'); 12 var color = $(this).attr('data-color'); 13 14 $('.makeshop-calendar' + month +' .day' + day).css({ 15 'background-color': color, 16 'color': '#fff', 17 'font-weight': 'bold', 18 'display': 'inline-block', 19 'width': '20px', 20 'height': '14px' 21 }); 22 }); 23 24 // æ¤ç´¢ãã©ã¼ã 25 $('.search-keyword, .search-price, .original-code').on('keypress', function(e) { 26 if (e.keyCode == 13) { 27 $('.search-url')[0].click(); 28 } 29 }); 30 31 // ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ 32 $('.openbtn').on('click', function() { 33 $(this).toggleClass('active'); 34 $('#g-nav').toggleClass('panelactive'); 35 }); 36 37 // ãµã¤ãã¡ãã¥ã¼ãéãã 38 $('#g-nav a').on('click', function() { 39 $('.openbtn').removeClass('active'); 40 $('#g-nav').removeClass('panelactive'); 41 }); 42 43 // ãµã¤ãã¡ãã¥ã¼ã®ã«ãã´ãªã¼éé 44 $('.accordion').on('click', function() { 45 $(this).toggleClass('on').next().slideToggle(); 46 $('.accordion').not(this).removeClass('on').next('.close').slideUp(); 47 }); 48}); 49 50function headerAdjust() { 51 var adjustPoint = 20; 52 var scrollTop = $(window).scrollTop(); 53 if(scrollTop > adjustPoint) { 54 $('.header').addClass('fix'); 55 } else { 56 $('.header').removeClass('fix'); 57 } 58} 59
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.