This is what I have currently:
$("#cart-summary").mouseenter(function () {
$('.flycart').delay(500).slideDown('fast');
});
$(".flycart").mouseleave(function () {
$('.flycart').delay(500).slideUp('fast');
}).find('a.close').click(function(){
$(this).parents('.flycart').hide();
});
What it does is:
If mouseover #cart-summary -> open flycart after 500ms
if mouseout .flycart -> close flycart after 500ms
What I need is:
If mouseover #cart-summary for ATLEAST 500ms -> open flycart
if mouseout .flycart for ATLEAST 500ms -> close flycart
Edited to Add: I also use hoverIntent, if that can be used here?
Many thanks!