Delay
HTML
<div id='notifications'>
<div id='test'>Cliquez ici pour fermer</div>
</div>
CSS
#notifications {
width: 100px;
height: 890px;
background: #ffb;
padding: 10px;
border: 2px solid #999;
}
JavaScript
$('#test').click(function() {
$('#notifications').fadeOut('slow', function() {});
});