[jQuery] hoverIntent and Accordion
I am trying to add the hoverIntent plugin to this basic accordion menu
such as this:
$("dd").hide();
$("dt a").hover(function(){
$("dd:visible").slideUp("slow");
$(this).parent().next().slideDown("slow");
return false;
});
I am confused about how to call those functions for over and out:
$("dt a").hoverIntent({
sensitivity: 3,
interval: 200,
over: ?,
timeout: 500,
out: ?,
});
The plugin says it is interchangeable with hover but when I try this:
$("dd").hide();
$("dt a").hoverIntent(function(){
$("dd:visible").slideUp("slow");
$(this).parent().next().slideDown("slow");
return false;
});
I get errors because I did not define the over and out. How do I
define these?
Thanks for any help with this.