1( function( $ ) { 2$( document ).ready(function() { 3$('#cssmenu > ul > li > a').click(function() { 4 $('#cssmenu li').removeClass('active'); 5 $(this).closest('li').addClass('active'); 6 var checkElement = $(this).next(); 7 if((checkElement.is('ul')) && (checkElement.is(':visible'))) { 8 $(this).closest('li').removeClass('active'); 9 checkElement.slideUp('normal'); 10 } 11 if((checkElement.is('ul')) && (!checkElement.is(':visible'))) { 12 $('#cssmenu ul ul:visible').slideUp('normal'); 13 checkElement.slideDown('normal'); 14 } 15 if($(this).closest('li').find('ul').children().length == 0) { 16 return true; 17 } else { 18 return false; 19 } 20}); 21}); 22} )( jQuery ); 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.