Difference between revisions of "Team:NYU Shanghai/Code"

Line 34: Line 34:
 
<script type="text/javascript">
 
<script type="text/javascript">
 
     function expandBMG() {
 
     function expandBMG() {
     if (document.getElementById("BMG").className === "collapse") {
+
     if (document.getElementById("BMG").className === "collapsed") {
 
       document.getElementById("BMG").style.color = "goldenrod";
 
       document.getElementById("BMG").style.color = "goldenrod";
 
       document.getElementById("BMGText").style.display = "inline-block";
 
       document.getElementById("BMGText").style.display = "inline-block";
Line 50: Line 50:
 
</div>
 
</div>
 
<div id="BMG">
 
<div id="BMG">
   <h5 class="collapse" onclick="expandBMG()"><span class="noselect">Bacterial Music Generator</span></h5>
+
   <h5 class="collapsed" onclick="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 15:59, 10 September 2015

Code

With bacteria expressing chromoproteins or fluorescent proteins. All parts taken from the Registry. See constructs