1jQuery(document).ready(function() { 2 function close_accordion_section() { 3 jQuery('.accordion .accordion-section-title').removeClass('active'); 4 jQuery('.accordion .accordion-section-content').slideUp(300).removeClass('open'); 5 } 6 7 jQuery('.accordion-section-title').click(function(e) { 8 // Grab current anchor value 9 var currentAttrValue = jQuery(this).attr('href'); 10 11 if(jQuery(e.target).is('.active')) { 12 close_accordion_section(); 13 }else { 14 close_accordion_section(); 15 16 // Add active class to section title 17 jQuery(this).addClass('active'); 18 // Open up the hidden content panel 19 jQuery('.accordion ' + currentAttrValue).slideDown(300).addClass('open'); 20 } 21 22 e.preventDefault(); 23 }); 24});
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.