1//ãã¼ã¸å ãªã³ã¯ 2$(function(){ 3 $('a[href^="#"]').not('a[href^="#modal_menu"]').click(function(){ 4 var href= $(this).attr("href"); 5 var target = $(href == "#" || href == "" ? 'html' : href); 6 var position = target.offset().top - 100; 7 $("html, body").animate({scrollTop:position}, 500, "swing"); 8 return false; 9 }); 10}); 11 12//pagetop 13$(function() { 14 var topBtn = $('#pagetop'); 15 topBtn.hide(); 16 //ã¹ã¯ãã¼ã«ã200ã«éããããã¿ã³è¡¨ç¤º 17 $(window).scroll(function () { 18 if ($(this).stop().scrollTop() > 200) { 19 topBtn.fadeIn(); 20 } else { 21 topBtn.fadeOut(); 22 } 23 }); 24 //ã¹ã¯ãã¼ã«ãã¦ããã 25 topBtn.click(function () { 26 $('body,html').stop().animate({ 27 scrollTop: 0 28 }, 500); 29 return false; 30 }); 31}); 32 33//slider 34$(document).ready(function(){ 35 $(".bxslider").bxSlider({ 36 auto: true, 37 pager: true, 38 controls: true, 39 speed: 600, 40 pause: 5000, 41 mode: 'fade', 42 touchEnabled: false 43 }); 44}); 45 46//mainnav fix 47$(function () { 48 if ($('header nav').length) { 49 var topOffset = $('header nav').offset().top; 50 var wid = $('.head').outerWidth(); 51 $(window).scroll(function () { 52 if ($(this).scrollTop() > topOffset) { 53 $('header nav').css({ 54 'position': 'fixed', 55 'top': '0', 56 'z-index': '10' 57 }); 58 } else { 59 $('header nav').css({ 60 'position': 'relative' 61 }); 62 } 63 }); 64 } 65}); 66 67//tables 68$(document).ready(function(){ 69 $( ".expandable" ).on( "click", function() { 70 $( this ).toggleClass('open') 71 $( this ).next().fadeToggle() 72 }); 73}) 74 75// added by arisawa 2020/3/18 76// check contact form your-name 77// $(document).ready(function () { 78// $('.wpcf7-submit').on('click', function () { 79// var name = $('input[name="your-name"]').val(); 80// if (-1 != name.indexOf('http://') || -1 != name.indexOf('https://')) { 81// return false; 82// } 83// return $('.wpcf7-form').submit(); 84// }); 85// }); 86 87//Qï¼A ã¢ã³ã¼ãã£ãªã³ 88$(function(){ 89 $(".qa dt").on("click", function() { 90 $(this).next().slideToggle(); 91 if($(this).hasClass('qa_active')) { 92 $(this).removeClass('qa_active'); 93 } else { 94 $(this).addClass('qa_active'); 95 } 96 }); 97});
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.