Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
<body> | <body> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | function | + | function filter2(id) { |
var ele = document.getElementById(id); | var ele = document.getElementById(id); | ||
ele.style.display= (ele.style.display == 'none' ? 'block' : 'none'); | ele.style.display= (ele.style.display == 'none' ? 'block' : 'none'); | ||
} | } | ||
- | function | + | function filter(that) { |
var ele = that.children[1]; | var ele = that.children[1]; | ||
ele.style.display= (ele.style.display == 'none' ? 'block' : 'none'); | ele.style.display= (ele.style.display == 'none' ? 'block' : 'none'); | ||
Line 48: | Line 48: | ||
<div class="row"> | <div class="row"> | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
- | <div class="filter-container"> | + | <div class="filter-container" onclick="filter(this)"> |
- | <img id="gwet | + | <img id="gwet" src="https://static.igem.org/mediawiki/igem.org/3/35/Cornell-nb-wet-g.png"> |
- | <img id="cwet | + | <img id="cwet" src="https://static.igem.org/mediawiki/igem.org/2/23/Cornell-nb-wet-c.png"> |
</div> | </div> | ||
<div id="wet-only" class="nb-only" onclick="onlyFilter('cwet')">only</div> | <div id="wet-only" class="nb-only" onclick="onlyFilter('cwet')">only</div> | ||
</div> | </div> | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
- | <div class="filter-container" onclick=" | + | <div class="filter-container" onclick="filter(this)"> |
<img id="gdry" src="https://static.igem.org/mediawiki/igem.org/2/2a/Cornell-nb-dry-g.png"> | <img id="gdry" src="https://static.igem.org/mediawiki/igem.org/2/2a/Cornell-nb-dry-g.png"> | ||
<img id="cdry" src="https://static.igem.org/mediawiki/igem.org/6/6a/Cornell-nb-dry-c.png"> | <img id="cdry" src="https://static.igem.org/mediawiki/igem.org/6/6a/Cornell-nb-dry-c.png"> | ||
Line 62: | Line 62: | ||
</div> | </div> | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
- | <div class="filter-container" onclick="filter( | + | <div class="filter-container" onclick="filter(this)"> |
<img id="gmodel" src="https://static.igem.org/mediawiki/igem.org/d/d0/Cornell-nb-model-g.png"> | <img id="gmodel" src="https://static.igem.org/mediawiki/igem.org/d/d0/Cornell-nb-model-g.png"> | ||
<img id="cmodel" src="https://static.igem.org/mediawiki/igem.org/5/59/Cornell-nb-model-c.png"> | <img id="cmodel" src="https://static.igem.org/mediawiki/igem.org/5/59/Cornell-nb-model-c.png"> | ||
Line 69: | Line 69: | ||
</div> | </div> | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
- | <div class="filter-container" onclick="filter( | + | <div class="filter-container" onclick="filter(this)"> |
<img id="ghprac" src="https://static.igem.org/mediawiki/igem.org/e/e3/Cornell-nb-hprac-g.png"> | <img id="ghprac" src="https://static.igem.org/mediawiki/igem.org/e/e3/Cornell-nb-hprac-g.png"> | ||
<img id="chprac" src="https://static.igem.org/mediawiki/igem.org/5/59/Cornell-nb-hprac-c.png"> | <img id="chprac" src="https://static.igem.org/mediawiki/igem.org/5/59/Cornell-nb-hprac-c.png"> | ||
Line 76: | Line 76: | ||
</div> | </div> | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
- | <div class="filter-container" onclick="filter( | + | <div class="filter-container" onclick="filter(this)"> |
<img id="gwiki" src="https://static.igem.org/mediawiki/igem.org/4/40/Cornell-nb-wiki-g.png"> | <img id="gwiki" src="https://static.igem.org/mediawiki/igem.org/4/40/Cornell-nb-wiki-g.png"> | ||
<img id="cwiki" src="https://static.igem.org/mediawiki/igem.org/f/ff/Cornell-nb-wiki-c.png"> | <img id="cwiki" src="https://static.igem.org/mediawiki/igem.org/f/ff/Cornell-nb-wiki-c.png"> | ||
Line 83: | Line 83: | ||
</div> | </div> | ||
<div class="two columns nb-filter"> | <div class="two columns nb-filter"> | ||
- | <div class="filter-container" onclick="filter( | + | <div class="filter-container" onclick="filter(this)"> |
<img id="ganim" src="https://static.igem.org/mediawiki/igem.org/5/51/Cornell-nb-anim-g.png"> | <img id="ganim" src="https://static.igem.org/mediawiki/igem.org/5/51/Cornell-nb-anim-g.png"> | ||
<img id="canim" src="https://static.igem.org/mediawiki/igem.org/4/46/Cornell-nb-anim-c.png"> | <img id="canim" src="https://static.igem.org/mediawiki/igem.org/4/46/Cornell-nb-anim-c.png"> |
Revision as of 16:42, 5 March 2013
Notebook
Filter by subteam:
only
only
only
only
only
only