1addEventListener("onSysAllContentLoaded", function () { 2 3 4//è¦ç´ ãç§»å 5 $('#category_bottom').insertAfter('.sysItemList'); 6 7//FAQã¢ã³ã¼ãã£ãªã³ã¡ãã¥ã¼ 8 $('.faq-question').on('click', function() { 9 $(this).next('.faq-answer').slideToggle(300); 10 $(this).toggleClass('active'); 11 }); 12 13//ã°ãã¼ãã«ã¡ãã¥ã¼ã¯ãªãã¯ãããããã¦ã³ééï¼20260618追å ï¼ 14$('.dropdown-toggle').on('click', function(e) { 15 e.preventDefault(); 16 var $dropdown = $(this).siblings('.dropdown-menu'); 17 var isExpanded = $(this).attr('aria-expanded') === 'true'; 18 19 // ä»ã®éãã¦ããã¡ãã¥ã¼ãããã°ãã£ããéãã 20 $('.dropdown-menu').not($dropdown).slideUp('slow'); 21 $('.dropdown-toggle').not(this).attr('aria-expanded', 'false'); 22 23 // ã¯ãªãã¯ããã¡ãã¥ã¼ããã£ããééãã 24 $dropdown.slideToggle('slow'); 25 $(this).attr('aria-expanded', !isExpanded); 26}); 27 28// ã¡ãã¥ã¼ã®å¤å´ãã¯ãªãã¯ããã¨ãã«ãã£ããéãã 29$(document).on('click', function(e) { 30 if (!$(e.target).closest('.has-dropdown').length) { 31 $('.dropdown-menu').slideUp('slow'); 32 $('.dropdown-toggle').attr('aria-expanded', 'false'); 33 } 34}); 35 36 37//ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ã¨wrapå¦çï¼20260626è¨ç½®ï¼ 38$(function () { 39 const mq = window.matchMedia('(max-width: 767px)'); 40 41 function handleResponsiveMenu(e) { 42 if (e.matches) { 43 // ãã¹ããæã 44 if ($('.sp-custom-wrapper').length === 0) { 45 $('body').append('<div class="sp-custom-wrapper"></div>'); 46 } 47 48 // 1. å³å´ã¨ãªã¢ (.right_wrap) ã®ç§»å 49 if ($('.right_wrap').length && !$('.right_wrap').parent().hasClass('sp-custom-wrapper')) { 50 $('.right_wrap').before('<div class="origin-right-place" style="display:none;"></div>'); 51 $('.right_wrap').appendTo('.sp-custom-wrapper'); 52 } 53 54 // 2. ã°ãã¼ãã«ã¡ãã¥ã¼ (.header_globalmenu_2026) ã®ç§»å 55 if ($('.header_globalmenu_2026').length && !$('.header_globalmenu_2026').parent().hasClass('sp-custom-wrapper')) { 56 $('.header_globalmenu_2026').before('<div class="origin-menu-place" style="display:none;"></div>'); 57 $('.header_globalmenu_2026').appendTo('.sp-custom-wrapper'); 58 } 59 60 } else { 61 // ãPCæãå ã®ä½ç½®ã«ããããæ»ã 62 if ($('.origin-right-place').length) { 63 $('.origin-right-place').before($('.right_wrap')); 64 $('.origin-right-place').remove(); 65 } 66 if ($('.origin-menu-place').length) { 67 $('.origin-menu-place').before($('.header_globalmenu_2026')); 68 $('.origin-menu-place').remove(); 69 } 70 71 // ééç¶æ ããªã»ãã 72 $('.hamburger-btn').removeClass('active'); 73 $('.sp-custom-wrapper').removeClass('open'); 74 } 75 } 76 77 // ç»é¢å¹ ã®å¤æ´ãç£è¦ 78 mq.addListener(handleResponsiveMenu); 79 handleResponsiveMenu(mq); 80 81 // ãã³ãã¼ã¬ã¼ãã¿ã³ãã¯ãªãã¯ããæã®ééå¦ç 82 $(document).on('click', '.hamburger-btn', function() { 83 $(this).toggleClass('active'); 84 $('.sp-custom-wrapper').toggleClass('open'); 85 }); 86 87 // ãæ°è¦è¿½å ãé åå¤ï¼ã¡ãã¥ã¼ã¨ãã¿ã³ä»¥å¤ï¼ãã¯ãªãã¯ããæã«éããå¦ç 88 $(document).on('click', function(e) { 89 // ã¯ãªãã¯ãããè¦ç´ ããã¡ãã¥ã¼æ¬ä½ï¼ãã®ä¸èº«å«ãï¼ãã§ãããã¿ã³ï¼ãã®ä¸èº«å«ãï¼ãã§ããªãå ´å 90 if (!$(e.target).closest('.sp-custom-wrapper').length && !$(e.target).closest('.hamburger-btn').length) { 91 $('.hamburger-btn').removeClass('active'); 92 $('.sp-custom-wrapper').removeClass('open'); 93 } 94 }); 95}); 96}); 97/* #END_OF_RESOURCE_FILE */
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.