Team:Yale/Templates/Yale Header Project
From 2010.igem.org
(Difference between revisions)
Line 200: | Line 200: | ||
<!------------------- End CSS -------------------> | <!------------------- End CSS -------------------> | ||
+ | |||
+ | <!------------------- Some Javascript ----------------> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | function switchMenu(obj) { | ||
+ | var el = document.getElementById(obj); | ||
+ | if ( el.style.display != "none" ) { | ||
+ | el.style.display = 'block'; | ||
+ | } | ||
+ | else { | ||
+ | el.style.display = 'none'; | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | <!------------ End Javascript -----------------> | ||
</head> | </head> |
Revision as of 05:24, 23 October 2010