[jQuery] cancel ".hide()"

[jQuery] cancel ".hide()"


Hi there,
I have a relativly simple question, first some code:
$(".classoflinks").hover(function() {
$("#myDiv").show();
}, function() {
setTimeout(function() { $("#myDiv").hide(); }, 4000);
});
so that's what I'm doing. Mouseover shows the div, mouseout hides the
div after 4 seconds. Now the tricky part:
When I hover over the shown div, I want to stop the hiding. Something like:
$("#myDiv").hover(function(){
$(this).stopHide();
}, function() {
setTimeout(function() { $("#myDiv").hide(); }, 4000);
});
what do I have to do instead of my not existing function "stopHide()"?
Sincerely
    Matthias
PS: maybe a dumb question but I'm pretty new to jquery.