closing all jquery accordian tabs
<p>I previously posted a question regarding a simple jquery accordian, the answer I received helped but the question I am asking now is the follow up to that question. Not sure how you would you make the tabs collapsible so that they all close. Click on Welcome to read, click on it again to close it. At present one of the tabs is left open.
This is the code</p>

<pre><code>  $(document).ready(function() {
           $('#va-accordion .va-content').hide();
           $('.va-heading').click(function(){
                   $('#va-accordion .va-content').slideUp();
                   $(this).next().slideDown();
                   return false;
           });

});
</code></pre>

<p>This is the <a href="http://www.photorestorationexpert.co.uk/testFolder/cbIndex.html" rel="nofollow">link</a></p>
