In addition to setting collapsible to true, set active to false:
$("#myAccordion").accordion({
  active: false,
  collapsible: true
});

- Richard

On Sun, Aug 2, 2009 at 8:12 PM, Camair <[email protected]> wrote:

>
> Hello all,
>
> I've been playing with jQuery UI 1.7.2 for a few weeks and had a
> question related to its accordion widget.
>
> Currently with jQuery UI 1.7.2, one of the default behaviors for the
> accordion is to always keep one section open. I would like all
> sections to be closed initially by default and was wondering if anyone
> out there had successfully implemented that.
>
> Thanks in advance!
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to