--- ../faq.org/faq.js 2009-07-28 15:01:47.000000000 +0200 +++ faq.js 2009-07-28 16:01:41.000000000 +0200 @@ -218,17 +218,19 @@ function faq_order_by_date(order) { if (Drupal.jsEnabled) { $(document).ready(function () { // hide/show answer to question - $('div.faq-dd-hide-answer').hide(); + $('div.faq-dd-hide-answer').addClass("collapsible collapsed"); $('div.faq-dt-hide-answer').click(function() { - $(this).next('div.faq-dd-hide-answer').slideToggle(); + $('div.faq-dd-hide-answer').not($(this).next('div.faq-dd-hide-answer')).addClass("collapsed"); + $(this).next('div.faq-dd-hide-answer').toggleClass("collapsed"); return false; }); // hide/show q/a for a category - $('div.faq-qa-hide').hide(); + $('div.faq-qa-hide').addClass("collapsible collapsed"); $('div.faq-qa-header .faq-header').click(function() { - $(this).parent().next('div.faq-qa-hide').slideToggle(); + $('div.faq-qa-hide').not($(this).parent().next('div.faq-qa-hide')).addClass("collapsed"); + $(this).parent().next('div.faq-qa-hide').toggleClass("collapsed"); return false; });