Team:Yale/Templates/Yale Header Project

From 2010.igem.org

(Difference between revisions)
Line 209: Line 209:
<!------------------- Some Javascript ---------------->
<!------------------- Some Javascript ---------------->
-
<script language="JavaScript" type="text/javascript">
+
<script type="text/javascript">
-
function doMenu(item) {
+
<!--
-
obj=document.getElementById(item);
+
    function toggle_visibility(id) {
-
col=document.getElementById("x" + item);
+
      var e = document.getElementById(id);
-
if (obj.style.display=="none") {
+
      if(e.style.display == 'block')
-
  obj.style.display="block";
+
          e.style.display = 'none';
-
  col.innerHTML="[-]";
+
      else
-
}
+
          e.style.display = 'block';
-
else {
+
    }
-
  obj.style.display="none";
+
//-->
-
  col.innerHTML="[+]";
+
</script>
-
}
+
-
}
+
-
</script>  
+

Revision as of 05:51, 23 October 2010

iGEM Yale