jquery - stack with accordion
<p>I have <strong>jquery, html, css</strong> code found in <a href="http://jsfiddle.net/jhunlio/tyeKJ/2/" rel="nofollow">fiddle</a> </p>

<p>Someone know how to add active state, your reply is a great help.</p>

<pre><code>$("#accordion &gt; li").click(function(){

    if(false == $(this).next().is(':visible')) {
        $('#accordion &gt; ul').slideUp(300);
    }
    $(this).next().slideToggle(300);
});

$('#accordion &gt; ul:eq(0)').hide();
</code></pre>
