1$(function(){ 2 3 $('.contents_faq01 dd').each(function(){ 4 $(this).wrapInner('<span class="inner"></span>'); 5 }); 6 $('.contents_faq01 dt').each(function(){ 7 $(this).append('<i class="more"></i>'); 8 }); 9 10 $(".contents_faq01.add_design1 dt").on("click", function(){ 11 if(window.innerWidth < 500){ 12 $(this).toggleClass('open').stop().next().slideToggle(); 13 } 14 }); 15 $(".contents_faq01.add_design2 dt").on("click", function(){ 16 $(this).toggleClass('open').next().stop().slideToggle(); 17 }); 18 19 $('.contents_faq01.accordion .wrapper_item').each(function(){ 20 $(this).find('dl:nth-of-type(n+2)').wrapAll('<div class="myhide"></div>'); 21 $(this).find('.myhide').after('<div class="mymore"><a href="#"></a></div>'); 22 }); 23 $('body').on('click', '.contents_faq01 .mymore a', function(){ 24 var $myhide = $(this).parent().prev('.myhide'); 25 if($myhide.hasClass('open')){ 26 $myhide.removeClass('open').stop().slideUp(500, 'easeInOutCubic', function(){ 27 $myhide.find('dt.open').removeClass('open'); 28 $myhide.find('dd').hide(); 29 }); 30 }else{ 31 $myhide.addClass('open').stop().slideDown(500, 'easeInOutCubic'); 32 } 33 return false; 34 }); 35 36});
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.