1 2////////////////////////////////////////////////////// 3// drawer 4////////////////////////////////////////////////////// 5 6// drawer open 7jQuery(function($) { 8 $('#menu_btn').on('click', function () { 9 $('.drawer').toggleClass('action'); 10 $('body').toggleClass('action'); 11 }); 12}); 13 14// drawer close 15jQuery(function($) { 16 $('#gnav_sp_close').on('click', function () { 17 $('.drawer').toggleClass('action'); 18 $('#drawer_close').toggleClass('action'); 19 $('body').toggleClass('action'); 20 }); 21}); 22 23jQuery(function($) { 24 $('.drawer ul li a').on('click', function () { 25 $('.drawer').toggleClass('action'); 26 $('body').toggleClass('action'); 27 }); 28}); 29 30jQuery(function($) { 31 $('.gnav_sp_menu-toggle').on('click', function () { 32 $(this).toggleClass('active'); 33 $(this).next().stop().slideToggle(); 34 }); 35}); 36 37////////////////////////////////////////////////////// 38// tab 39////////////////////////////////////////////////////// 40 41// sp 42jQuery(function($) { 43 $('#category_tab_sp ul li a').on('click', function () { 44 $('#drop_area').css('display','none'); 45 }); 46}); 47 48jQuery(function($) { 49 $("#category_tab_list_sp p").on("click", function() { 50 $(this).next().slideToggle(); 51 $(this).toggleClass("active");//追å é¨å 52 }); 53}); 54 55// sp_more 56jQuery(function($) { 57 $(".sp_more_btn").on("click", function() { 58 $(this).next().slideToggle(); 59 $(this).toggleClass("active"); 60 $(this).css('display','none'); 61 }); 62}); 63 64// pc sp 65jQuery(function($) { 66 $(document).ready(function() { 67 $('.tab_area:first').show(); 68 $('.tab li:first').addClass('active'); 69 $('.tab li.all').addClass('active'); 70 71 $('.tab li').click(function() { 72 $('.tab li').removeClass('active'); 73 $(this).addClass('active'); 74 $('.tab_area').hide(); 75 76 $(jQuery(this).find('a').attr('href')).fadeIn(); 77 return false; 78 }); 79 }); 80}); 81 82 83////////////////////////////////////////////////////// 84// accordion menu 85////////////////////////////////////////////////////// 86 87jQuery(function($) { 88 $("#member_link_list_btn h2").on("click", function() { 89 $(this).next().slideToggle(); 90 $(this).toggleClass("active");//追å é¨å 91 }); 92}); 93 94 95////////////////////////////////////////////////////// 96// kkd_adj 97////////////////////////////////////////////////////// 98 99jQuery(function($) { 100 $(document).ready(function() { 101 $yoko = $("#top_kkd_area .article_kkd_item .article_kkd_item_img").width(); 102 $tate = $yoko * (74 / 112) 103 $("#top_kkd_area .article_kkd_item .article_kkd_item_img img").width($yoko); 104 $("#top_kkd_area .article_kkd_item .article_kkd_item_img img").height($tate); 105 }); 106 }); 107 108 109 110 111////////////////////////////////////////////////////// 112// ãã¼ã¸å ã¹ã¯ãã¼ã« 113////////////////////////////////////////////////////// 114 115// $(function(){ 116// $('a[href^="#"]').click(function() { 117// var speed = 400; 118// var href= $(this).attr("href"); 119// var target = $(href == "#" || href == "" ? 'html' : href); 120// var position = target.offset().top; 121// $('body,html').animate({scrollTop:position}, speed, 'swing'); 122// return false; 123// }); 124// }); 125// 126 127 128////////////////////////////////////////////////////// 129//TOPãã¼ã¸å³ä¸å°å¹´å£ããã¼ 130////////////////////////////////////////////////////// 131 132jQuery(function($) { 133 $(".boys_banner_box__button").click(function() { 134 $(".boys_banner_box").toggleClass("boys_banner_box__hidden"); 135 }); 136}); 137
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.