1$(window).on('load', function () { 2 // ã¦ã¼ã¶ã¨ã¼ã¸ã§ã³ã 3 var ua = navigator.userAgent; 4 if ((ua.indexOf('iPhone') > 0) || ua.indexOf('iPod') > 0 || (ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0)) { 5 $('head').prepend('<meta name="viewport" content="width=device-width,initial-scale=1">'); 6 } else { 7 $('head').prepend('<meta name="viewport" content="width=1300">'); 8 } 9 10 // ã°ããããããããã¦ã³ 11 $('.menu-item-has-children > a').focus(function () { 12 $(this).siblings('.sub-menu').addClass('focused'); 13 }).blur(function () { 14 $(this).siblings('.sub-menu').removeClass('focused'); 15 }); 16 // For children 17 $('.sub-menu a').focus(function () { 18 $(this).parents('.sub-menu').addClass('focused'); 19 }).blur(function () { 20 $(this).parents('.sub-menu').removeClass('focused'); 21 }); 22 23 // ã¢ã³ã¼ãã£ãªã³ 24 $("#acMenu > dt > button,#acMenu2 > dt > button").on("click", function () { 25 $(this).parent('dt').next().slideToggle(); 26 if ($(this).find('.icon--toggle').text() === 'ï¼') { 27 $(this).find('.icon--toggle').text('â'); 28 $(this).find('.icon--toggle').attr('title', 'ã¡ãã¥ã¼ãéãã'); 29 $(this).attr('aria-selected', true); 30 $(this).attr('aria-expanded', true); 31 $(this).parent('dt').next('dd').attr('aria-hidden', false); 32 } else { 33 $(this).find('.icon--toggle').text('ï¼'); 34 $(this).find('.icon--toggle').attr('title', 'ã¡ãã¥ã¼ãéã'); 35 $(this).attr('aria-selected', false); 36 $(this).attr('aria-expanded', false); 37 $(this).parent('dt').next('dd').attr('aria-hidden', true); 38 } 39 }); 40 41// ãã¼ã¸ããã 42var pageTop1 = $("#footer_link_pagetop"); 43pageTop1.click(function () { 44 $('body, html').animate({ 45 scrollTop: 0 46 }, 500); 47 return false; 48}); 49 50}); 51 52jQuery(document).ready(function ($) { 53 // ç®çå¥ã§æ¢ããã¯ãªãã¯ã§å®è¡ 54 $(".openNavi,.closeNavi").click(function () { 55 // bodyã«classä»ãå¤ã 56 $("body").toggleClass("active"); 57 }); 58 // ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ãã¯ãªãã¯ã§å®è¡ 59 $("#spm_menu").click(function () { 60 // bodyã«classä»ãå¤ã 61 $("body").toggleClass("active2"); 62 }); 63}); 64 65// ã°ãã¼ãã«ããåºå® 66$(function () { 67 var _window = $(window), 68 _header = $('#top_search'), 69 heroBottom; 70 71 _window.on('scroll', function () { 72 heroBottom = $('#header2').height(); 73 if (_window.scrollTop() > heroBottom) { 74 _header.addClass('fixed'); 75 } 76 else { 77 _header.removeClass('fixed'); 78 } 79 }); 80 81 _window.trigger('scroll'); 82}); 83 84 85// ä½ç½®èª¿æ´ 86$(document).ready(function () { 87 const mediaQuery = window.matchMedia('(max-width: 670px)'); 88 89 function handle(mm) { 90 if (mm.matches) { 91 // ã¦ã£ã³ãã¦ãµã¤ãºã670px以ä¸ã®ã¨ã 92 $('#top_search').insertAfter('#he_right'); 93 } else { 94 // ããä»¥å¤ 95 $('#top_search').insertAfter('#header2'); 96 } 97 } 98 // ãã¼ã¸ãèªã¿è¾¼ã¾ããæã«å®è¡ 99 handle(mediaQuery); 100 // ã¦ã£ã³ãã¦ãµã¤ãºã夿´ããã¦ãå®è¡ãããããã« 101 mediaQuery.addListener(handle); 102});
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.