Link to home
Start Free TrialLog in
Avatar of karelog
karelogFlag for Chile

asked on

how to make accordion to habe all nodes collapsed

Hello!

I have jQuery 1.3.2 with jQuery-ui-1.7.3

I need to create an accordion but loading all the nodes closed.

thanks :D
Avatar of Eduardo Ciciliato
Eduardo Ciciliato
Flag of Brazil image

try this:
set collapsible to true
$("#myAccordion").accordion({collapsible:true});

Open in new window

Avatar of karelog

ASKER

Hi esmagadores,

it doesn't work D:

I still getting the frist node open when I load the form >.<
My bad, try this
$("#myAccordion").accordion({active:false});

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Designbyonyx
Designbyonyx
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of karelog

ASKER

This was exact was I was looking for.

Thanks :D