1// ã°ãã¼ãã«ããã²ã¼ã·ã§ã³ 2$(function() { 3 $('a[href="#nav-item-dropdown"]').on('click', function() { 4 var dropdown = $(this).next('.drop-nv-wrap'); 5 if ($(dropdown).css('display') == 'none') { 6 $(dropdown).fadeIn('fast'); 7 } else { 8 $(dropdown).fadeOut('fast'); 9 } 10 $('.article-title-pc').toggleClass('open'); 11 return false; 12 }); 13}); 14//ãµã¤ãã®ã¢ã³ã¼ãã£ãªã³ã¡ãã¥ã¼ 15$(function () { 16 $('.ac:first-child .ac-parent').next().show(); 17 $('.ac-parent').on('click', function () { 18 $(this).next().slideToggle(); 19 //openã¯ã©ã¹ãã¤ãã 20 $(this).toggleClass("open"); 21 //ã¯ãªãã¯ããã¦ããªãac-parentã®openã¯ã©ã¹ãåã 22 $('.ac-parent').not(this).removeClass('open'); 23 // ä¸ã¤éãã¨ä»ã¯éããããã« 24 $('.ac-parent').not($(this)).next('.ac-child').slideUp(); 25 }); 26}); 27//topã¸æ»ã 28jQuery(function() { 29 var appear = false; 30 var pagetop = $('#page_top'); 31 $(window).scroll(function () { 32 if ($(this).scrollTop() > 100) { //100pxã¹ã¯ãã¼ã«ããã 33 if (appear == false) { 34 appear = true; 35 pagetop.stop().animate({ 36 'bottom': '50px' //ä¸ãã50pxã®ä½ç½®ã« 37 }, 300); //0.3ç§ããã¦ç¾ãã 38 } 39 } else { 40 if (appear) { 41 appear = false; 42 pagetop.stop().animate({ 43 'bottom': '-100px' //ä¸ãã-100pxã®ä½ç½®ã« 44 }, 300); //0.3ç§ããã¦é ãã 45 } 46 } 47 }); 48 pagetop.click(function () { 49 $('body, html').animate({ scrollTop: 0 }, 500); //0.5ç§ããã¦ãããã¸æ»ã 50 return false; 51 }); 52}); 53 54// ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ 55$(function() { 56 $('.menu-trigger').on('click', function() { 57 if ($(this).hasClass('active')) { 58 $(this).removeClass('active'); 59 $('main').removeClass('open'); 60 $('nav').removeClass('open'); 61 $('.overlay').removeClass('open'); 62 } else { 63 $(this).addClass('active'); 64 $('main').addClass('open'); 65 $('nav').addClass('open'); 66 $('.overlay').addClass('open'); 67 } 68 }); 69 $('.overlay').on('click', function() { 70 if ($(this).hasClass('open')) { 71 $(this).removeClass('open'); 72 $('.menu-trigger').removeClass('active'); 73 $('main').removeClass('open'); 74 $('nav').removeClass('open'); 75 } 76 }); 77 $('.article-title').on('click', function() { 78 $(this).next().slideToggle(200); 79 $(this).toggleClass('open'); 80 }); 81}); 82 83// æ¤ç´¢ããã¯ã¹ 84$(function() { 85 $('.search-keyword').on('keypress', function(e) { 86 if (e.keyCode == 13) { 87 var index = $('.search-keyword').index(this); 88 $('.search-url')[index].click(); 89 } 90 }); 91 92 $('.search-icon').on('click', function() { 93 $('.search-box').animate({ width: 'toggle' }, 'slow'); 94 }); 95 96 $('.close').on('click', function() { 97 $('input[type="text"]').fadeOut('slow'); 98 }); 99}); 100/*ã«ã¬ã³ãã¼è¡¨ç¤º*/ 101// <!--ç¹å®æ¥ã®è¨å®--> 102$(function(){ 103 $('.dayList').each(function(){ 104 var month = $(this).attr('data-month'); 105 var day = $(this).attr('data-day'); 106 var color = $(this).attr('data-color'); 107
108 $('.makeshop-calendar' + month +' .day' + day).css({ 109 'background-color': color, 110 'color': '#fff', 111 'font-weight': 'bold' 112 }); 113 114 }); 115});
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.