1 2$('.header .sp-menu').on('click' , function() { 3 $(this).toggleClass('active'); 4 $('.header nav').toggleClass('active') 5}) 6 7$('.header nav .header-btn li.onlineshop a').on('click' , function() { 8 $(this).next().fadeIn(); 9}) 10 11$('.header nav .header-btn li.onlineshop .fade-content i').on('click' , function() { 12 $('.header nav .header-btn li.onlineshop .fade-content').fadeOut(); 13}) 14 15$('.link-btn a').append('<i></i>') 16 17//ã´ã«ãç·´ç¿å ´ã»ãã£ããã£ã³ã°ä¸è¦§ã®ã¿ã¤ãã«é¨å 18$('.fitting--txt h2').append('<i></i>') 19 20//PC ãããã¼ã®ONLINESHOPãã¯ãªãã¯ããæã®æå 21$('#pc-menu').on('click' , function() { 22 $(this).next().toggleClass('view') 23}) 24 25//詳細æ å ±ã®.itemå ã®aã¿ã° 26// $('.shop-list__item-info-link .item a').append('<i></i>') 27 28$('.online-shop-link .close').on('click' , function() { 29 $('.online-shop-link').toggleClass('view') 30}) 31 32 33 34 35//headeræ¤ç´¢çª 36$('.search-btn .search-icon').on('click' , function() { 37 $('.search-box').addClass('view'); 38}); 39$('.search-box__inner .close').on('click' , function() { 40 $('.search-box').removeClass('view'); 41}); 42 43 44//pagetop 45const pageTop = $("#page-top"); 46 pageTop.hide(); // æåã¯ãã¿ã³ãé表示ã«ãã 47 $(window).scroll(function () { 48 if ($(this).scrollTop() > 100) { // 100pxã¹ã¯ãã¼ã«ããã表示 49 pageTop.fadeIn(); // 100px以ä¸ã¹ã¯ãã¼ã«ããããã¿ã³ããã§ã¼ãã¤ã³ 50 } else { 51 pageTop.fadeOut(); // 100px以ä¸ã«ãªã£ãããã¿ã³ããã§ã¼ãã¢ã¦ã 52 } 53 }); 54 pageTop.click(function () { 55 $("body,html").animate( 56 { 57 scrollTop: 0, // ä¸ãã0pxã®ä½ç½®ã«æ»ã 58 }, 59 500 // 500ããªç§ããã¦æ»ã 60 ); 61 return false; 62 }); 63 64 $('.accordion-trigger').on('click' , function() { 65 $(this).toggleClass('active'); 66 $(this).next().slideToggle(); 67 }) 68 69 70 71$(function() { 72 // ã¹ã¯ãã¼ã«ã¢ãã¡ã¼ã·ã§ã³é¢æ° 73 function scrollProcess() { 74 var pos = $(window).scrollTop(); 75 var wh = $(window).innerHeight(); 76 77 $(".scrollItem").each(function () { 78 var startPos = 0.8; // ããã©ã«ãã®éå§ä½ç½® 79 if ($(this).attr('data-spos') !== undefined) { 80 startPos = parseFloat($(this).data('spos')); // 屿§å¤ãæ°å¤å 81 } 82 83 if ($(this).offset().top < pos + wh * startPos) { 84 $(this).addClass("scrollActive"); 85 } 86 }); 87 } 88 89 // ååãã§ãã¯ï¼ãã¼ã¸ãã¼ãæï¼ 90 scrollProcess(); 91 92 // ã¹ã¯ãã¼ã«ã¤ãã³ã 93 $(window).on('scroll', function() { 94 scrollProcess(); 95 }); 96 97 // ãã©ã¼ã ãµã¸ã§ã¹ãOFF 98 $('[name="s"]').attr("autocomplete", "off"); 99});
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.