Syntax for adding function to jQuery UI Accordion Event
I'm fixing up some jQuery functions that I wrote eons ago, and I can't seem to get the syntax right for inserting a simple function that should be called when the event is triggered.
It was nice and easy to insert the show() to the mouseleave function, but I've run into a wall on how to insert a simple hide() function into the event: "click hoverintent".
-
$(".accordion_closed").accordion({
event: "click hoverintent",
collapsible: true,
active: false,
autoHeight: false,
Height: 20,
}).mouseleave(function () {
$(this).accordion({ active: false });
$("#HideThis").show();
});