I dont get how to tell my function that if i click again on the open tabs, close and stop animation. My problem right now is my tab close, and redo to .show() action. Here a fiddle for you to see; http://jsfiddle.net/X2dsS/1/
$('.lst-cours .extrainfo').hide() $('.lst-cours').click(function(){ $('.lst-cours .extrainfo').hide("slow") $('.lst-cours .extrainfo').removeClass("active") $(this).children().find('.extrainfo').show("slow").addClass('active') });