Time to slideDown
Time to slideDown
Hi
i have a question
- $(document).ready(function()
- {
$('ul > li > a').mouseenter( function() {
if ($(this).next().is('.pulldown') ) {
$(this).next().stop(true, true);
$(this).next().delay(200).slideDown(100);
}
});
$('ul > li > a').mouseleave( function() {
if ($(this).next().is('.pulldown') ) {
$(this).next().delay(0).slideUp('fast');
}
});
$('.pulldown').mouseenter( function() {
$(this).stop(true, true);
});
$('.pulldown').mouseleave( function() {
$(this).delay(300).slideUp('fast');
});
});
this is the code that i use for my pulldown menu
The problem is that it always opens my pulldown when i hover a button.
i want to create some sort of delay: when mouseover wait 500 miliseconds if mouseout before 500 miliseconds reached : Do nothing (dont show the menu)
can somebody help me with this problem
i'm sorry for my very bad english
Thanks in advance
Kevin