Created
June 25, 2013 17:21
-
-
Save wtarr/5860398 to your computer and use it in GitHub Desktop.
JQuery UI accordion mouseover to open and mouseleave to close.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function () { | |
$("#accordion").accordion({ | |
heightStyle: "fill", | |
collapsible: true, | |
active: false, | |
event: "mouseover" | |
}).on('mouseleave', function () { | |
$(this).accordion("option", "active", false); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ghdghghdg