I'm trying to follow the example here
http://twitter.github.com/bootstrap/javascript.html#collapse
I have placed a mockup here
http://jsfiddle.net/gqe7g/
Loading behavior is strange. It shows Menu1 then collapses it then shows Menu2 and Menu3. I would like everything to open collapsed. I have tried the following without success
$('#accordion').collapse({hide: true})
From the doc:
If you'd like it to default open, add the additional class in.
In other words, leave out the "in" and it will default to close. http://jsfiddle.net/JBRh7/
2.1m questions
2.1m answers
60 comments
56.9k users