jQuery timer function
<p>I have onmouseenter event that I want to trigger only if the mouse spends more than n seconds inside the object. </p>

<pre><code>$('#object').live('mouseenter', function() { 

// code that will execute only if mouse spends more than n seconds

});
</code></pre>

<p>I'd appreciate any help.</p>
