stack with jquery - accordion
<p>I have code sample <a href="http://jsfiddle.net/tq5Y8/" rel="nofollow">here</a> </p>

<p>I want is when the accordion close color back to yellow.</p>

<p>"In the sample when i click the red to close the tab color will change to yellow"</p>

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

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

var animationIsOff = $.fx.off;
$.fx.off = true;
$('#accordion &gt; li:eq(0)').click()
$.fx.off = animationIsOff;
</code></pre>
