Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 6: | Line 6: | ||
<html class="no-js" lang="en"> | <html class="no-js" lang="en"> | ||
<body> | <body> | ||
- | <script type="text/javascript"> | + | <script type="text/javascript"> |
- | + | function filter(id) { | |
- | function | + | var ele = document.getElementById(id); |
+ | ele.style.display= (ele.style.display == 'none' ? 'block' : 'none'); | ||
+ | } | ||
+ | function onlyFilter() { | ||
var ele = document.getElementById('cdry'); | var ele = document.getElementById('cdry'); | ||
ele.style.display= (ele.style.display == 'none' ? 'block' : 'none'); | ele.style.display= (ele.style.display == 'none' ? 'block' : 'none'); | ||
Line 49: | Line 52: | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
<div class="filter-container"> | <div class="filter-container"> | ||
- | <img id="gdry" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/2/2a/Cornell-nb-dry-g.png"> | + | <img id="gdry" onclick="filter('cdry')" src="https://static.igem.org/mediawiki/igem.org/2/2a/Cornell-nb-dry-g.png"> |
- | <img id="cdry" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/6/6a/Cornell-nb-dry-c.png"> | + | <img id="cdry" onclick="filter('cdry')" src="https://static.igem.org/mediawiki/igem.org/6/6a/Cornell-nb-dry-c.png"> |
</div> | </div> | ||
<div id="dry-only" class="nb-only" onclick="filter()">only</div> | <div id="dry-only" class="nb-only" onclick="filter()">only</div> | ||
Line 56: | Line 59: | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
<div class="filter-container"> | <div class="filter-container"> | ||
- | <img id="gmodel | + | <img id="gmodel" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/d/d0/Cornell-nb-model-g.png"> |
- | <img id="cmodel | + | <img id="cmodel" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/5/59/Cornell-nb-model-c.png"> |
</div> | </div> | ||
<div id="model-only" class="nb-only" onclick="filter()">only</div> | <div id="model-only" class="nb-only" onclick="filter()">only</div> | ||
Line 63: | Line 66: | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
<div class="filter-container"> | <div class="filter-container"> | ||
- | <img id="ghprac | + | <img id="ghprac" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/e/e3/Cornell-nb-hprac-g.png"> |
- | <img id="chprac | + | <img id="chprac" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/5/59/Cornell-nb-hprac-c.png"> |
</div> | </div> | ||
<div id="hprac-only" class="nb-only" onclick="filter()">only</div> | <div id="hprac-only" class="nb-only" onclick="filter()">only</div> | ||
Line 70: | Line 73: | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
<div class="filter-container"> | <div class="filter-container"> | ||
- | <img id="gwiki | + | <img id="gwiki" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/4/40/Cornell-nb-wiki-g.png"> |
- | <img id="cwiki | + | <img id="cwiki" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/f/ff/Cornell-nb-wiki-c.png"> |
</div> | </div> | ||
<div id="wiki-only" class="nb-only" onclick="filter()">only</div> | <div id="wiki-only" class="nb-only" onclick="filter()">only</div> | ||
Line 77: | Line 80: | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
<div class="filter-container"> | <div class="filter-container"> | ||
- | <img id="ganim | + | <img id="ganim" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/5/51/Cornell-nb-anim-g.png"> |
- | <img id="canim | + | <img id="canim" onclick="filter()" src="https://static.igem.org/mediawiki/igem.org/4/46/Cornell-nb-anim-c.png"> |
</div> | </div> | ||
<div id="anim-only" class="nb-only" onclick="filter()">only</div> | <div id="anim-only" class="nb-only" onclick="filter()">only</div> |
Revision as of 15:21, 5 March 2013
Notebook
Filter by subteam:
only
only
only
only
only
only