Template:Team:Waterloo/JS/baseWiki
From 2014.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
} | } | ||
} | } | ||
+ | |||
+ | /*function toggleNavPanel(x){ | ||
+ | var panel = document.getElementById(x), | ||
+ | navarrow = document.getElementsByClassName("navarrow"), | ||
+ | maxH="320px"; | ||
+ | if(panel.style.height == maxH){ | ||
+ | panel.style.height = "0px"; | ||
+ | navarrow[0].innerHTML = "▾"; | ||
+ | navarrow[1].innerHTML = "▾"; | ||
+ | } | ||
+ | else { | ||
+ | panel.style.height = maxH; | ||
+ | navarrow[0].innerHTML = "▴"; | ||
+ | navarrow[1].innerHTML = "▴"; | ||
+ | } | ||
+ | }*/ | ||
function onHover(id, image){ | function onHover(id, image){ |
Revision as of 05:01, 16 October 2014