Response title
This is preview!
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();
});
Due to space constraints, I'm trying to only show the <div>
below the accordion in the event the accordion is closed.
show/hide function the way I
was trying to do it initially (it's always easier to work with
code that I can actually understand ;-))
$("#HideThis").hide();
$("#HideThis").show();
(function () {
$("#HideThis").show();
});
Since I don't quite
understand the code you used
for the activate:
function
;-)
© 2013 jQuery Foundation
Sponsored by and others.