Template:HeaderGroningen2011

From 2011.igem.org

(Difference between revisions)
Line 26: Line 26:
persiststate: true,          //persist state of opened contents within browser session?
persiststate: true,          //persist state of opened contents within browser session?
toggleclass: ["", ""],        //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
toggleclass: ["", ""],        //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
-
togglehtml: ["suffix", "<img src='plus.gif' class='statusicon' />", "<img src='minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
+
togglehtml: ["suffix", "<img src='https://2011.igem.org/File:Groningen2011menuplus.png' class='statusicon' />", "<img src='https://2011.igem.org/File:Groningen2011menuminus.png' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
animatespeed: "fast",          //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
animatespeed: "fast",          //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized

Revision as of 11:31, 19 August 2011