Template:Team:USyd-Australia/Bits
From 2014.igem.org
(Difference between revisions)
Andy.Bachler (Talk | contribs) |
Andy.Bachler (Talk | contribs) |
||
Line 6: | Line 6: | ||
<head> | <head> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | ||
- | <script> | + | <script type="text/javascript"> |
- | + | <!-- | |
- | + | function toggle_visibility(id) { | |
- | + | var e = document.getElementById(id); | |
- | + | if(e.style.display == 'block') | |
- | + | e.style.display = 'none'; | |
- | + | else | |
- | + | e.style.display = 'block'; | |
- | + | } | |
- | + | //--> | |
</script> | </script> | ||
</head> | </head> | ||
- | + | <a href="#" onclick="toggle_visibility('foo');">Click here to toggle visibility of element #foo</a> | |
+ | <div id="foo">This is foo</div> | ||
<body> | <body> | ||
<ul id="BitsBar"> | <ul id="BitsBar"> | ||
- | <li><a | + | <li><a href="#" onclick="toggle_visibility('PrimerTable');">Primers</a></li> |
<li><a id="gBlockClick"href="#">gBlocks</a></li></ul> | <li><a id="gBlockClick"href="#">gBlocks</a></li></ul> | ||
Revision as of 04:35, 16 October 2014
Click here to toggle visibility of element #foo
This is foo
Primer Name | Sequence | Date Made | GC% | Length | Tm(°C) | Comment |
---|---|---|---|---|---|---|
gBlock Name | Sequence | Date Made | GC% | Length | Comment |
---|
1
2
3
4