Also in case anyone has an issue with it not allowing the collapsible
after opening add the option

alwaysOpen: false

With the above settings plus alwaysOpen:false you can have it start
closed and return to being closed or else once opened it cannot be
closed without refreshing the page. I was frustrated and found this
somewhere so I thought I'd share.


On Aug 4, 7:20 pm, Camair <[email protected]> wrote:
> Thanks, Richard!
>
> Your advice took care of it for me.
>
> On Aug 4, 5:21 am, "Richard D. Worth" <[email protected]> wrote:
>
> > In addition to settingcollapsibleto 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 itsaccordionwidget.
>
> > > Currently with jQuery UI 1.7.2, one of the default behaviors for the
> > >accordionis 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