I am trying to use Accordion in combination with a filter which hides some accordion elements. My first problem seems to be that the filter .hide() call is clashing with accordions own "hidden" classes.
The size of the accordion area is also wrong. Using tabs instead would probably fix this, but wouldn't help with the overloading of the hidden class.
I can see that instead of using $( "element").hide() I could do something like $( "element").addClass("hidden2") and also give that the css properties visibility:none. Alternatively I could handle the filter server-side. Is there another way of doing this just using the jquery libs?