Team:Yale/Templates/Yale Header Project
From 2010.igem.org
(Difference between revisions)
Line 209: | Line 209: | ||
<!------------------- Some Javascript ----------------> | <!------------------- Some Javascript ----------------> | ||
- | + | function switchMenu(a){ | |
- | function switchMenu( | + | var e=document.getElementById(a); |
- | + | if(!e)return true; | |
- | + | if(e.style.display=="none"){ | |
- | + | e.style.display="block" | |
- | + | } else { | |
- | + | e.style.display="none" | |
- | + | } | |
- | + | return true; | |
} | } | ||
- | |||
<!------------ End Javascript -----------------> | <!------------ End Javascript -----------------> |
Revision as of 05:30, 23 October 2010