Accordion closed initially
I would like to render my page with the accordion widget closed initially.
I have cobbled this together from reading this site and trying to understand examples-it does allow all to be collapsed. But...how do I open with this?
<script>
$(function() { // Shorthand for $(document).ready(function() {
$("#accordion").accordion({ collapsible: true });
var collapsible = $( "#accordion" ).accordion( "option", "collapsible" );
});
</script>