1$('#nav-content .toggle').on('click', function () { 2 $(this).children("ul").slideToggle(); 3}); 4 5$('header .button').on('click', function () { 6 $('#nav-container').toggleClass('open'); 7}); 8 9if (window.matchMedia("(max-width: 750px)").matches) { 10 var headerHeight = 65; 11 var urlHash = location.hash; 12 if (urlHash) { 13 $('body,html').animate({ 14 scrollTop: 0 15 }, 400); 16 setTimeout(function () { 17 var target = $(urlHash); 18 var position = target.offset().top - headerHeight; 19 $('body,html').stop().animate({ 20 scrollTop: position 21 }, 500); 22 }, 100); 23 } 24 $('a[href^="#"]').click(function () { 25 var href = $(this).attr("href"); 26 var target = $(href); 27 var position = target.offset().top - headerHeight; 28 $('body,html').stop().animate({ 29 scrollTop: position 30 }, 500); 31 }); 32} else { 33 $(function () { 34 $('a[href^="#"]').click(function () { 35 var speed = 1000; 36 var href = $(this).attr("href"); 37 var target = $(href == "#" || href == "" ? 'html' : href); 38 var position = target.offset().top; 39 $("html, body").animate({ 40 scrollTop: position 41 }, speed, "swing"); 42 return false; 43 }); 44 }); 45} 46 47 48 49 50$(function () { 51 $(".faq-image,.delegated-content").matchHeight(); 52}); 53 54 55$(function () { 56 //æåã¯å ¨ã¦ã®ããã«ãé表示㫠57 $('.faq-dt') 58 .click(function (e) { 59 //鏿ããããã«ãéã 60 $(this).next('.faq-dd').toggleClass('dropdown_toggle'); 61 }) 62}); 63 64$(document).ready(function () { 65 $("#pagetop").hide(); 66 $(window).on("scroll", function () { 67 if ($(this).scrollTop() > 100) { 68 $("#pagetop").fadeIn("fast"); 69 } else { 70 $("#pagetop").fadeOut("fast"); 71 } 72 scrollHeight = $(document).height(); //ããã¥ã¡ã³ãã®é«ã 73 scrollPosition = $(window).height() + $(window).scrollTop(); //ç¾å¨å° 74 footHeight = $("footer").innerHeight(); //footerã®é«ãï¼ï¼æ¢ãããä½ç½®ï¼ 75 if (scrollHeight - scrollPosition <= footHeight) { //ããã¥ã¡ã³ãã®é«ãã¨ç¾å¨å°ã®å·®ãfooterã®é«ã以ä¸ã«ãªã£ãã 76 $("#pagetop").css({ 77 "position": "absolute", 78 "bottom": footHeight + 30, 79 }); 80 } else { 81 $("#pagetop").css({ 82 "position": "fixed", 83 "right": 20, 84 "bottom": 90, 85 }); 86 } 87 }); 88 $('#pagetop').click(function () { 89 $('body,html').animate({ 90 scrollTop: 0 91 }, 400); 92 return false; 93 }); 94}); 95 96 97$(function () { 98 var slider = ".delegated-photo-current"; // ã¹ã©ã¤ãã¼ 99 var thumbnailItem = ".delegated-photo-list .delegated-photo-item"; // ãµã ãã¤ã«ç»åã¢ã¤ãã 100 101 // ãµã ãã¤ã«ç»åã¢ã¤ãã ã« data-index ã§indexçªå·ãä»ä¸ 102 $(thumbnailItem).each(function () { 103 var index = $(thumbnailItem).index(this); 104 $(this).attr("data-index", index); 105 }); 106 107 // ã¹ã©ã¤ãã¼åæåå¾ãã«ã¬ã³ãã®ãµã ãã¤ã«ç»åã«ã¯ã©ã¹ãthumbnail-currentããä»ãã 108 // ãslickã¹ã©ã¤ãã¼ä½æãã®åã«ãã®è¨è¿°ã¯æ¸ãã¦ãã ããã 109 $(slider).on('init', function (slick) { 110 var index = $(".slide-item.slick-slide.slick-current").attr("data-slick-index"); 111 $(thumbnailItem + '[data-index="' + index + '"]').addClass("thumbnail-current"); 112 }); 113 114 //slickã¹ã©ã¤ãã¼åæå 115 $(slider).slick({ 116 autoplay: true, 117 arrows: false, 118 fade: true, 119 infinite: false //ããã¯ã¤ãã¾ãããã 120 }); 121 //ãµã ãã¤ã«ç»åã¢ã¤ãã ãã¯ãªãã¯ããã¨ãã«ã¹ã©ã¤ãã¼åãæ¿ã 122 $(thumbnailItem).on('click', function () { 123 var index = $(this).attr("data-index"); 124 $(slider).slick("slickGoTo", index, false); 125 }); 126 127 //ãµã ãã¤ã«ç»åã®ã«ã¬ã³ããåãæ¿ã 128 $(slider).on('beforeChange', function (event, slick, currentSlide, nextSlide) { 129 $(thumbnailItem).each(function () { 130 $(this).removeClass("thumbnail-current"); 131 }); 132 }); 133}); 134 135$(function () { 136 $('.header-menu-list li').hover(function () { 137 $(this).find('.menu-content').stop().slideDown(); 138 }, function () { 139 $(this).find('.menu-content').stop().slideUp(); 140 }); 141}); 142 143$(function () { 144 $('.mw_wp_form_input .submit').prop('disabled', true); 145 146 $('#privacy-policy-1').on('click', function () { 147 if ($(this).prop('checked') == false) { 148 $('.mw_wp_form_input .submit').prop('disabled', true); 149 } else { 150 $('.mw_wp_form_input .submit').prop('disabled', false); 151 } 152 }); 153});
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.