1// ãããã¼_ããã¯ã¼ã¡ãã¥ã¼ 2$(function() { 3 $('.navbar_toggle').on('click', function () { 4 $(this).toggleClass('open'); 5 $('.menu').toggleClass('open'); 6 $('body').toggleClass('no-scroll'); 7 }); 8}); 9 10 11// 製åç´¹ä»ãã¼ã¸_åè³ã»æ¡æ 12// var show = 4; //æåã«è¡¨ç¤ºããä»¶æ° 13// var num = 10; //ãã£ã¨è¦ãã§è¡¨ç¤ºããä»¶æ° 14// var contents = '.catList li'; // 対象ã®list 15// $(contents + ':nth-child(n + ' + (show + 1) + ')').addClass('is-hidden'); 16// $('.more').on('click', function () { 17// $(contents + '.is-hidden').slice(0, num).removeClass('is-hidden'); 18// if ($(contents + '.is-hidden').length == 0) { 19// $('.more').fadeOut(); 20// } 21// }); 22 23 24 25// $(function () { 26// var show = 4; // æåã«è¡¨ç¤ºããä»¶æ° 27// var num = 10; // ããã£ã¨è¦ããã§è¡¨ç¤ºããä»¶æ° 28// var contents = '.catList li'; // 対象ã®ãªã¹ã 29 30// // åæç¶æ ã§è¡¨ç¤ºä»¶æ°ä»¥éãé表示ã«ãã 31// $(contents + ':nth-child(n + ' + (show + 1) + ')').addClass('is-hidden'); 32 33// // ããã£ã¨è¦ãããã¿ã³ã¯ãªãã¯æã®å¦ç 34// $('.more').on('click', function () { 35// $(contents + '.is-hidden').slice(0, num).removeClass('is-hidden'); 36// if ($(contents + '.is-hidden').length === 0) { 37// $('.more').fadeOut(); 38// } 39// }); 40// }); 41 42 43 44$(function () { 45 var show = 4; 46 var num = 10; 47 var contents = '.catList li.js-hidden'; 48 49 // æåã®è¡¨ç¤ºåã ã表示ï¼is-hiddenãå¤ãï¼ 50 $(contents).slice(0, show).removeClass('js-hidden'); 51 52 // ããã£ã¨è¦ããã¯ãªãã¯æ 53 $('.more').on('click', function () { 54 $(contents).slice(0, num).removeClass('js-hidden'); 55 if ($(contents).length <= num) { 56 $('.more').fadeOut(); 57 } 58 }); 59}); 60 61 62 63 64 65 66 67 68// // åºå®ãªã³ã¯_ããã¿ã¼æåã§ã¹ããã 69// function PageTopAnime() { 70 71// var scroll = $(window).scrollTop(); //ã¹ã¯ãã¼ã«å¤ãåå¾ 72// if (scroll >= 0) { //ã¹ã¯ãã¼ã«ããã 73// $('#fixed-link').removeClass('DownMove'); // DownMoveã¨ããã¯ã©ã¹åãé¤å»ã㦠74// $('#fixed-link').addClass('UpMove'); // UpMoveã¨ããã¯ã©ã¹åã追å ãã¦åºç¾ 75// } else { //ãã以å¤ã¯ 76// if ($('#fixed-link').hasClass('UpMove')) { //UpMoveã¨ããã¯ã©ã¹åãæ¢ã«ä»ä¸ããã¦ããã 77// $('#fixed-link').removeClass('UpMove'); // UpMoveã¨ããã¯ã©ã¹åãé¤å»ã 78// $('#fixed-link').addClass('DownMove'); // DownMoveã¨ããã¯ã©ã¹åã追å ãã¦é表示 79// } 80// } 81 82// var wH = window.innerHeight; //ç»é¢ã®é«ããåå¾ 83// var footerPos = $('#footer').offset().top; //footerã®ä½ç½®ãåå¾ 84// if (scroll + wH >= (footerPos)) { 85// // var pos = (scroll+wH) - footerPos //ã¹ã¯ãã¼ã«ã®å¤ï¼ç»é¢ã®é«ãããfooterã®ä½ç½®ãåå¾ã 86// $('#fixed-link').css('bottom', footerPos); //#page-topã«ä¸è¨ã®å¤ãCSSã®bottomã«ç´æ¥æå®ãã¦ããã¿ã¼æåã§æ¢ã¾ãããã«ãã 87// } else { //ãã以å¤ã¯ 88// if ($('#fixed-link').hasClass('UpMove')) { //UpMoveã¨ããã¯ã©ã¹åãã¤ãã¦ããã 89// $('#fixed-link').css('bottom', '0'); 90// } 91// } 92// } 93 94// // ãã¼ã¸ãèªã¿è¾¼ã¾ãããããã«åããããå ´åã®è¨è¿° 95// $(window).on('load', function () { 96// PageTopAnime(); /* ã¹ã¯ãã¼ã«ããéã®åãã®é¢æ°ãå¼ã¶*/ 97// }); 98 99 100// //ãã©ã¤ãã·ã¼ããªãã¼ã·ã§ã³ä½ç½® 101// $(function () { 102// $('.checkbox-privacy').parent().parent().addClass('privacy-area'); 103// }); 104 105 106// // ãªã³ã¯å ã«checkedãä»ä¸(ãã¼ã¸ãèªã¿è¾¼ãã æãã§ãã¯ãã¤ãã) 107// $(document).ready(function () { 108// const urlParams = new URLSearchParams(window.location.search); 109// const checks = urlParams.getAll('check'); 110// if (checks.length !== 0 ) { 111// checks.forEach(function (check) { 112// $('#' + check).prop('checked', true); 113 114// if ($('[id=tab01]').prop('checked')) { 115// $('#tab-contens01').addClass('show'); 116// $('#tab-contens02').removeClass('show'); 117// $('#tab01').addClass('active'); 118// $('#tab02').removeClass('active'); 119// } else if ($('[id=tab02]').prop('checked')) { 120// $('#tab-contens02').addClass('show'); 121// $('#tab-contens01').removeClass('show'); 122// $('#tab02').addClass('active'); 123// $('#tab01').removeClass('active'); 124// } 125// }); 126// } else { 127// $('#tab-contens01').addClass('show'); 128// $('#tab-contens02').removeClass('show'); 129// $('#tab01').addClass('active'); 130// $('#tab02').removeClass('active'); 131// } 132 133// TabChecked() 134// }); 135 136 137// //ãã©ã¼ã ã¿ãã®æ¡ä»¶åå² 138// // ã¿ã 139// const tabList = document.querySelectorAll('.tab-list-item'); 140// // ã¿ãã³ã³ãã³ã 141// const tabContent = document.querySelectorAll('.tab-contents-item'); 142 143// //DOMãèªã¿è¾¼ã¿çµãã£ãã 144// document.addEventListener('DOMContentLoaded', function () { 145// // ã¿ãã«å¯¾ãã¦ã¯ãªãã¯ã¤ãã³ããé©ç¨ 146// for (let i = 0; i < tabList.length; i++) { 147// tabList[i].addEventListener('click', tabSwitch); 148// } 149// // ã¿ããã¯ãªãã¯ããã¨å®è¡ãã颿° 150// function tabSwitch() { 151// // activeã¯ã©ã¹ãåé¤ 152// let removeTarget = document.querySelectorAll('.active')[0] 153// removeTarget.classList.remove('active'); 154// // ã¯ãªãã¯ããã¿ãã«activeã¯ã©ã¹ãä»ä¸ 155// this.classList.add('active'); 156// // showã¯ã©ã¹ãåé¤ 157// document.querySelectorAll('.show')[0].classList.remove('show'); 158// // ã¿ããé å風ãªãã¸ã§ã¯ãã¨ãã¦å®ç¾© 159// const aryTabs = Array.prototype.slice.call(tabList); 160// // ã¯ãªãã¯ããã¿ãã®é åçªå·ãåå¾ 161// const index = aryTabs.indexOf(this); 162// // ã¯ãªãã¯ããã¿ãã¨åãé åçªå·ã®ã¿ãã³ã³ãã³ãã«showã¯ã©ã¹ãä»ä¸ 163// tabContent[index].classList.add('show'); 164// if ($('#tab01').hasClass('active')) { 165// $('#tab01').prop('checked', true); 166// $('#tab02').prop('checked', false); 167// } else { 168// $('#tab01').prop('checked', false); 169// $('#tab02').prop('checked', true); 170// } 171// TabChecked(); 172// } 173// }); 174 175 176// //tab 177// function TabChecked() { 178// if ($('[id=tab01]').prop('checked')) { 179// $('.footer_nav_li01').addClass('current'); 180// $('.footer_nav_li02').removeClass('current'); 181// } else if($('[id=tab02]').prop('checked')) { 182// $('.footer_nav_li02').addClass('current'); 183// $('.footer_nav_li01').removeClass('current'); 184// } 185// } 186 187 188 189
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.