1// ã°ãã¼ãã«ã¡ãã¥ã¼ 2$('#gnav .no-child a').mouseenter(function () { 3 $('.js-work-sub').stop().fadeOut(0); 4 $('.js-subnavi').removeClass('sub-open'); 5}); 6$('.js-subnavi').mouseenter(function () { 7 $('.js-work-sub').stop().fadeOut(0); 8 $('.js-subnavi').removeClass('sub-open'); 9 $(this).next().stop().fadeIn(0); 10 $(this).addClass('sub-open'); 11}); 12$('.js-work-sub').mouseleave(function () { 13 $('.js-work-sub').stop().fadeOut(0); 14 $('.js-subnavi').removeClass('sub-open'); 15}); 16// ã°ãã¼ãã«ã¡ãã¥ã¼è¿½å¾ 17$(window).on('load', function () { 18 $(function ($) { 19 // 追å¾ããããè¦ç´ ã®ã¯ã©ã¹åãå®£è¨ 20 var headerTop = $('.header_top'); 21 offset = headerTop.offset(); 22 $(window).scroll(function () { 23 if ($(window).scrollTop() > offset.top) { 24 // 追å¾ããããè¦ç´ ã®ä½ç½®ã¾ã§ã¹ã¯ãã¼ã«ãããã¯ã©ã¹ä»ä¸ 25 headerTop.addClass('top_fixed'); 26 27 } else { 28 // ãã以å¤ã¯ã¯ã©ã¹ãå¤ã 29 headerTop.removeClass('top_fixed'); 30 31 } 32 }); 33 }); 34}); 35// ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ 36$('.js-subnavi-sp').on('click', function () { 37 $('.submenu_arrow').toggleClass('rotate').next().slideToggle(); 38}); 39$('.js-subnavi-sp2').on('click', function () { 40 $('.submenu_arrow2').toggleClass('rotate').next().slideToggle(); 41}); 42$('.search-keyword').on('keypress', function (e) { 43 if (e.keyCode == 13) { 44 $('.search-url')[0].click(); 45 } 46}); 47 48document.querySelector(".close-banner").addEventListener("click", function() { 49 document.querySelector(".follow_banner").style.display = "none"; 50}); 51 52 $(function () { 53 $('.sort_title').click(function () { 54 $(this).toggleClass('selected'); 55 $(this).next().slideToggle(); 56 }); 57 });
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.