riseofdesign
09-30-2009, 07:04 PM
Hello there,
I am new to jQuery and I am working on a website with some smooth effects.
I want to pop up a <div> when the mouse is over the link. If the mouse isn't anymore over the link the <div> should hide.
At the moment when the mouse is over the link the <div> appears, but it doesn't disappear when the mouse isn't over the link anymore.
$(".abouthover").hide();
$(".about").hover(function(){
$(".abouthover").slideToggle("slow");
});
What can I do that the <div> disappears when the mouse isn't over the link anymore.
I am new to jQuery and I am working on a website with some smooth effects.
I want to pop up a <div> when the mouse is over the link. If the mouse isn't anymore over the link the <div> should hide.
At the moment when the mouse is over the link the <div> appears, but it doesn't disappear when the mouse isn't over the link anymore.
$(".abouthover").hide();
$(".about").hover(function(){
$(".abouthover").slideToggle("slow");
});
What can I do that the <div> disappears when the mouse isn't over the link anymore.