• // If a closed question is clicked
    	jQuery('.wp-super-faq-question-closed').live('click', function(event) {
    		event.preventDefault();
    		var wp_super_faq_id = '#' + jQuery(this).attr('id') + '-answer';
    
    			jQuery('a.wp-super-faq-question-open').toggleClass('wp-super-faq-question-open wp-super-faq-question-closed')
    			jQuery('.wp-super-faq-answer').slideUp();
    
    		jQuery(this).removeClass().addClass('wp-super-faq-question-open');
    		jQuery(wp_super_faq_id + ' .wp-super-faq-triangle').html('▼');
    		jQuery('.wp-super-faq-answer' + wp_super_faq_id).slideDown();
    
    	});

    https://www.ads-software.com/extend/plugins/wp-super-faq/

  • The topic ‘[Plugin: WP Super FAQ] Toggle others closed’ is closed to new replies.