Team:Harvard/Project/Pipeline
From 2011.igem.org
(Difference between revisions)
(2 intermediate revisions not shown) | |||
Line 14: | Line 14: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $(" | + | $("myhover").hover(function(){ |
$("p").toggle(); | $("p").toggle(); | ||
}); | }); | ||
Line 20: | Line 20: | ||
</script> | </script> | ||
</head> | </head> | ||
+ | |||
<body> | <body> | ||
<button>Toggle</button> | <button>Toggle</button> | ||
- | <p id=" | + | <p id="myhover">Hello World!</p> |
<p>This is a paragraph with little content.</p> | <p>This is a paragraph with little content.</p> | ||
<p>This is another small paragraph.</p> | <p>This is another small paragraph.</p> |
Latest revision as of 02:57, 21 September 2011
Hello World!
This is a paragraph with little content.
This is another small paragraph.