1function jquery_archive_list_animate(clickedObj, options) 2{ 3 var changeSymbol = function (){ 4 jQuery(clickedObj).children('.jaw_symbol').html(options['ex_sym']) 5 } 6 7 if (jQuery(clickedObj).siblings('ul').children('li').is(':hidden')) { 8 jQuery(clickedObj).children('.jaw_symbol').html(options['con_sym']) 9 10 if(options['fx_in'] === 'fadeIn') 11 jQuery(clickedObj).siblings('ul').children('li').fadeIn() 12 else if (options['fx_in'] === 'slideDown') 13 jQuery(clickedObj).siblings('ul').children('li').slideDown() 14 else 15 jQuery(clickedObj).siblings('ul').children('li').show() 16 } else { 17 if(options['fx_in'] === 'fadeIn') 18 jQuery(clickedObj).siblings('ul').children('li').fadeOut('', changeSymbol) 19 else if (options['fx_in'] === 'slideDown') 20 jQuery(clickedObj).siblings('ul').children('li').slideUp('', changeSymbol) 21 else 22 jQuery(clickedObj).siblings('ul').children('li').hide(0, changeSymbol) 23 24 } 25 jQuery(clickedObj).parent().toggleClass('expanded') 26} 27 28jQuery(function() 29{ 30 jQuery('.jaw_widget').each(function(index){ 31 var options = { 32 fx_in: jQuery(this).siblings('.fx_in').val(), 33 ex_sym: jQuery(this).siblings('.ex_sym').val(), 34 con_sym: jQuery(this).siblings('.con_sym').val() 35 } 36 37 jQuery(this).on('click', 'li.jaw_years a.jaw_years, li.jaw_months a.jaw_months', function(e){ 38 if (jQuery(this).siblings('ul').children('li').length) e.preventDefault() 39 jquery_archive_list_animate(this, options) 40 }) 41 }) 42});
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.