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

Line 2: Line 2:
  
 
<html>
 
<html>
 +
<script type="text/javascript">
 +
  window.onload = revealProject();
 +
</script>
 +
 
<style type="text/css">
 
<style type="text/css">
 
@font-face {
 
@font-face {
Line 20: Line 24:
 
     font-family: "bebas";
 
     font-family: "bebas";
 
   }
 
   }
   #BMG p {
+
   #BMGcode p {
 
   color: white;
 
   color: white;
 
   font-family: "helveticaNL";
 
   font-family: "helveticaNL";
Line 28: Line 32:
  
 
<script type="text/javascript">
 
<script type="text/javascript">
  function collapse() {
+
  function expandBMG() {
  /*document.getElementById("BMG").style.color = "goldenrod";
+
  document.getElementById("BMGText").style.display = "none";
+
 
+
    if (document.getElementsByClassName("expanded").length > 0) {
+
    document.getElementsByClassName("expanded")[0].className = "collapsing";
+
    };*/
+
    }
+
   
+
    function expandBMG() {
+
 
     if (document.getElementById("BMG").className === "expanded") {
 
     if (document.getElementById("BMG").className === "expanded") {
 
       document.getElementById("BMG").style.color = "goldenrod";
 
       document.getElementById("BMG").style.color = "goldenrod";
Line 48: Line 43:
 
     };
 
     };
 
   }
 
   }
</script>
 
 
<script type="text/javascript">
 
  window.onload = revealProject();
 
 
</script>
 
</script>
  
 
<div id="overview">
 
<div id="overview">
  <h3>Code</h3>
+
  <h3>Code</h3>
 
</div>
 
</div>
<div id="BMG code">
+
<div id="BMGcode">
  <h5 id="BMG" class="collapsed" onclick="collapse();expandBMG()"><span class="noselect">Bacterial Music Generator</span></h5>
+
  <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 15:37, 10 September 2015

Code

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