Difference between revisions of "Team:NYU Shanghai/Code"
Line 34: | Line 34: | ||
document.getElementsByClassName("expanded")[0].className = "collapsing"; | document.getElementsByClassName("expanded")[0].className = "collapsing"; | ||
};*/ | };*/ | ||
− | /*function | + | /*function expandBMG() { |
if (document.getElementById("BMG").className === "collapsing") { | if (document.getElementById("BMG").className === "collapsing") { | ||
document.getElementById("BMG").className = "collapsed"; | document.getElementById("BMG").className = "collapsed"; | ||
Line 70: | Line 70: | ||
</div> | </div> | ||
<div id="BMG"> | <div id="BMG"> | ||
− | <h5 id="BMG" class="collapsed"onclick="collapse(); | + | <h5 id="BMG" class="collapsed" onclick="collapse();expandBMG()"><span class="noselect">Bacterial Music Generator</span></h5> |
<p id="BMGText">With bacteria expressing chromoproteins or fluorescent proteins. All parts taken from the Registry. See constructs</p> | <p id="BMGText">With bacteria expressing chromoproteins or fluorescent proteins. All parts taken from the Registry. See constructs</p> | ||
</div> | </div> | ||
</html> | </html> |
Revision as of 05:45, 10 September 2015