My problem is to find a fitting search-phrase to my question.
I think there are some answers in this forum about that.
I’d like to start a mouseOver event that acts to the fitting action intime. Currently when I’m hovering and leaving the one-div it performs first the mouseenter and after it is completed it does the mouseleave.
What I need is that at the time I leave the one-div with the mouse. The mouseleave event should instantly be activated.
I know it has something to do with the .ready function but I could not find any other.
$(document).ready(function(){
$("div#one").mouseenter(function() {
$("div#two").slideDown("normal");
});
$("div#one").mouseleave(function() {
$("div#two").slideUp("normal");
});
});
Try this, might It help you.