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 toggle_visibility(id) {
+
function resettoggle() {
-
      var e = document.getElementById(id);
+
var e = document.getElementById('foo');
-
      if(e.style.display == 'block')
+
e.style.display = 'none';
-
          e.style.display = 'none';
+
}
-
      else
+
 
-
          e.style.display = 'block';
+
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

iGEM Yale