Team:Yale/Templates/Yale Header Project
From 2010.igem.org
(Difference between revisions)
Line 211: | Line 211: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
<!-- | <!-- | ||
- | + | function resettoggle() { | |
- | + | var e = document.getElementById('foo'); | |
- | + | e.style.display = 'none'; | |
- | + | } | |
- | + | ||
- | + | function toggle_visibility(id) { | |
- | + | var e = document.getElementById(id); | |
+ | if(e.style.display == 'none') | ||
+ | e.style.display = 'block'; | ||
+ | else | ||
+ | e.style.display = 'none'; | ||
+ | } | ||
//--> | //--> | ||
</script> | </script> |
Revision as of 05:53, 23 October 2010