Team:Yale/Templates/Yale Header Project
From 2010.igem.org
(Difference between revisions)
Line 210: | Line 210: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | function switchMenu( | + | <script type="text/javascript"> |
- | + | function switchMenu(item) { | |
- | if ( | + | obj=document.getElementById(item); |
- | + | col=document.getElementById("x" + item); | |
+ | if (obj.style.display=="none") { | ||
+ | obj.style.display="block"; | ||
+ | col.innerHTML="[-]"; | ||
+ | } | ||
+ | else { | ||
+ | obj.style.display="none"; | ||
+ | col.innerHTML="[+]"; | ||
+ | } | ||
} | } | ||
- | + | </script> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</script> | </script> | ||
Revision as of 05:39, 23 October 2010