Template:Hide

From 2009.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 22: Line 22:
// -->
// -->
</script>
</script>
 +
 +
<body>
 +
    <!-- Put it anywhere in the <body> and </body> part of the HTML -->
 +
 +
<div ID="demodiv" class="demo">
 +
  Put text, tables or any other HTML contents here, as you would put in
 +
  any other HTML page.
 +
  .....
 +
  ..... and more.
 +
</div>
 +
                          <!-- To Show The DIV -->
 +
 +
<input type="button" onClick="toggleBox('demodiv',1);" value="Show Div">
 +
 +
                          <!-- To Hide The DIV -->
 +
 +
<input type="button" onClick="toggleBox('demodiv',0);" value="Hide Div">
 +
</body>
</head>
</head>
</html>
</html>

Latest revision as of 08:53, 8 September 2009

Put text, tables or any other HTML contents here, as you would put in any other HTML page. ..... ..... and more.