Hi,
A bit to late. but I tried to modify the plugin a bit to add this functionality. There might be a better way or you may be able to improve this code.
Add the below css to your stylesheet
.collapseomatic {
display: block;
width:95%;
}
.expand-title{
background-image:url(/wp-content/uploads/2013/04/down-arrow.png);
background-repeat: no-repeat;
padding-left: 30px;
height:24px;
}
.collapse-title{
background-image:url(/wp-content/uploads/2013/04/up-arrow.png);
background-repeat: no-repeat;
padding-left: 30px;
height:24px;
}
Now in the plugin folder, edit the faq.init.js file and replace the boom_goes_the_dynamite() function
function boom_goes_the_dynamite() {
var speed_v = jQuery('div.faq-list').data('speed');
speed = (speed_v) ? speed_v : 200;
jQuery('div.expand-faq').each(function() {
jQuery(this).find('div.faq-answer').hide();
});
jQuery('.expand-title').click(function (event) {
var faq = jQuery(this).attr('id');
var h4WithClass = jQuery(this).attr('id');
jQuery('div.expand-faq').each(function() {
var current = jQuery(this).attr('id') ;
if (current!= h4WithClass)
{
jQuery(this).find('#'+current).removeClass('collapse-title');
jQuery(this).find('div.faq-answer').hide();
}
});
jQuery(this).toggleClass("collapse-title");
jQuery('div.faq-list').find('div.faq-answer[rel="' + faq + '"]').slideToggle(speed);
jQuery('div.faq-list').find('div.faq-answer').not('[rel="' + faq + '"]').hide(speed);
});
}