DMXzone Accordion Support Product Page
Planned
Ability to start with all sections closed.
Shared 23 Feb 2012 11:52:05
6
like this idea
23 Feb 2012 11:52:05 S A M posted:
Ability to start with all sections closed. Replies
Replied 24 Feb 2012 12:48:53
24 Feb 2012 12:48:53 Teodor Kuduschiev replied:
You can do this until we integrate this as an option adding just a little code.
First you need to enable Collapsible Accordion option/
When you create the accordion it places a code like this on the page:
Add:
And your code becomes:
First you need to enable Collapsible Accordion option/
When you create the accordion it places a code like this on the page:
<script type="text/javascript"> // <![CDATA[ jQuery(document).ready( function() { jQuery("#dmxAccordion1").dmxAccordion( {"collapsible": true} ); } ); // ]]> </script>
Add:
, active: falseafter
"collapsible": true
And your code becomes:
<script type="text/javascript"> // <![CDATA[ jQuery(document).ready( function() { jQuery("#dmxAccordion1").dmxAccordion( {"collapsible": true, active: false} ); } ); // ]]> </script>
Replied 02 Mar 2012 22:23:43
02 Mar 2012 22:23:43 linda malloy replied:
Thanks!
Replied 11 Mar 2012 12:53:51
11 Mar 2012 12:53:51 Daniel FLEURY replied:
Works. thanks
Replied 14 Mar 2012 21:22:41
14 Mar 2012 21:22:41 Shannon Laird replied:
We did it by creating an extra section at the bottom of the list, selecting this extra section as the start section, then deleting the extra section. The page opens with all sections closed. It seems to work great.
Replied 15 Mar 2012 01:30:47
15 Mar 2012 01:30:47 S A M replied:
Thank you everyone for your assistance. I love this site!!!