Hi Noah,

If you want to have all of your accordion folds collapsed at the time of
page-load, there's an option for that. 
Instead of:
$("#accordion").accordion();
Do this instead:
$("#accordion").accordion({active: false, collapsible: true});

(Normally, the "active" option can be set as an integer to indicate which
fold you want open; 0 for the first fold, 1, for the second, etc.) If
collapsible is set to true and active is set to false, the page will load
with the accordion completely folded.

I hope this helps! I'm quite new at this too, but I've started figuring out
that many of the things I want to do are built-in options and don't require
much coding! If you check out the "options" tab on the accordion
documentation page: http://jqueryui.com/demos/accordion/, this is documented
under the "active" attribute. (What I find hardest to use about the
documentation is that often none of the options sound like what I'm looking
for, and I think that applies here...)

Good luck!
Ken
-- 
View this message in context: 
http://old.nabble.com/Accordion---expand-all--tp21596331s27240p28478478.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.

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

Reply via email to