fadeout manual (on click) with automatic (after few seconds)
<pre><code> $('&lt;div class="error"&gt;&lt;/div&gt;').html('&lt;h2&gt;(click here to dismiss)&lt;/h2&gt;').insertAfter($('#someid')).fadeIn('slow').animate({ opacity: 1.0 }, 1000).click(function() {
       $(this).fadeOut('slow', function() {
           $(this).remove()
       })
   });
</code></pre>

<p>is there a way to combine this with:</p>

<pre><code>$('#someid').animate({opactiy: 1.0 } fadeOut('slow', function() {
            $(this).remove()
        });
</code></pre>

<p>in other words to combine it, so when they don't click it, it would still disappear after so many seconds..</p>
