Team:Calgary/Notebook

From 2009.igem.org

(Difference between revisions)
(WEEKLY UPDATES)
(WEEKLY UPDATES)
 
(29 intermediate revisions not shown)
Line 11: Line 11:
===WEEKLY UPDATES===
===WEEKLY UPDATES===
----
----
-
 
+
<html>
-
<html>{{hidden|Laboratory|Week 1<br/>Week 2<br/>Week 3<br/>Week 4<br/>|headerstyle=background:#ccccff|bodystyle=text-align:center}}</html>
+
<head>
-
 
+
<title>toggle_it() Demo</title>
-
<script type="text/javascript" language="JavaScript"><!--
+
<script language="javascript">
-
function HideContent(d) {
+
  function toggle_it(itemID){
-
document.getElementById(d).style.display = "none";
+
      // Toggle visibility between none and inline
-
}
+
      if ((document.getElementById(itemID).style.display == 'none'))
-
function ShowContent(d) {
+
      {
-
document.getElementById(d).style.display = "block";
+
        document.getElementById(itemID).style.display = 'inline';
-
}
+
      } else {
-
function ReverseDisplay(d) {
+
        document.getElementById(itemID).style.display = 'none';
-
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
+
      }
-
else { document.getElementById(d).style.display = "none"; }
+
  }
-
}
+
</script>
-
//--></script>
+
<style type="text/css">
 +
<!--
 +
.style5 {font-family: Arial, Helvetica, sans-serif; font-size: 10; }
 +
.style7 {font-family: Arial, Helvetica, sans-serif; font-size: 10px; }
 +
-->
 +
</style>
 +
</head>
 +
<body>
 +
<form name="test" action="" method="post">
 +
  <table width="199">
 +
    <tr class="style7">
 +
    <td width="50%" align="right" height="23" valign="top"><a href="#" onClick="toggle_it('pr1')"><font size="3">Laboratory</font></a></td>
 +
  <td height="23" valign="left" >
 +
    </td>
 +
<td colspan="2">
 +
<table width="100%" id="pr1" name="police_response1" style="display:none;">
 +
<tr valign="top">
 +
  <td><span class="style10">Week 1</span></td>
 +
</tr>
 +
<tr>
 +
  <td><span class="style10">Week 2</span></td>
 +
</tr>
 +
<tr>
 +
  <td><span class="style10">Week 3</span></td>
 +
</tr>
 +
<tr>
 +
  <td><span class="style10">Week 4</span></td>
 +
</tr>
 +
  <td><span class="style10"></span></td>
 +
        </tr>
 +
        </table>
 +
        </td>
 +
    </tr>
 +
</table>
 +
</form>
 +
</html>

Latest revision as of 17:27, 8 June 2009

Home The Team Calendar The Project Parts Submitted to the Registry Modeling Notebook

WEEKLY UPDATES


toggle_it() Demo

Laboratory