How can I make the jquery UI accordion start collapsed when the form loads. Is there any javascript code for this?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
- how to get selected text from iframe with javascri
If you look at the beginning of the panel group in your code, look for this
if you just remove the "in" it has the panel close when the page loads.
I was trying to do the same thing. Using Jquery UI tabs. I wanted none to show with 5 tabs when you start.
using active: false showed the 5th tabs content. So I set tabs CSS to display:none; since it in-line changes display. Hope this helps someone!
And in the style
In your options specify:
See documentation for active.
To complete the answer of topex, With Jquery UI 1.10.3 I had to set the 'collapsible' option before the 'active' one.
See the documentation
I used this code, as i was using a Dreamweaver Widget, the code that Topek didnt work for me hope this helps,
If you're using the wysiwyg "Properties" and the coding confuses, try putting a number in the "Active" box one more than your list of Sections. I have 12 sections and put "13" in there and it worked for me.