Team:Imperial College London/Templates/Accordion
From 2011.igem.org
(Difference between revisions)
Line 52: | Line 52: | ||
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover | mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover | ||
collapseprev: false, //Collapse previous content (so only one open at any time)? true/false | collapseprev: false, //Collapse previous content (so only one open at any time)? true/false | ||
- | defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content. | + | defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content. |
onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed) | onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed) | ||
animatedefault: false, //Should contents open by default be animated into view? | animatedefault: false, //Should contents open by default be animated into view? |
Revision as of 19:56, 19 September 2011