jQuery UI Accordion 1.6: collapse & expand
Hi folks
I'm using jQuery UI Accordion 1.6.
I incorporated it into the DotNetNuke platform.
when the page loads the first parent with children is open by default, I want it to modify so it is collapsed.
this is the segment of code I tried various tricks with.
- $.extend($.ui.accordion, {
- defaults: {
- selectedClass: "selected",
- alwaysOpen: false,
- animated: 'easeslide', //easeslide bounceslide false
- event: "click",
- header: ".head",
- autoheight: false,
- running: 0,
-
- navigationFilter: function() {
- return this.href.toLowerCase() == location.href.toLowerCase();
- }
If the question isn't clear please indicate so and I will elaborate more.
Thanks in advance