Template:Team:Duke/CSS
From 2014.igem.org
(Difference between revisions)
Line 29: | Line 29: | ||
toggleclass: ["unselected", "selected"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"] | toggleclass: ["unselected", "selected"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"] | ||
togglehtml: ["none", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs) | togglehtml: ["none", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs) | ||
- | animatespeed: | + | animatespeed: fast, //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow" |
oninit:function(expandedindices){ //custom code to run when headers have initalized | oninit:function(expandedindices){ //custom code to run when headers have initalized | ||
//do nothing | //do nothing |
Revision as of 18:02, 17 July 2014