Difference between revisions of "Team:NYU Shanghai/Code"
Line 2: | Line 2: | ||
<html> | <html> | ||
− | |||
− | |||
− | |||
− | |||
<style type="text/css"> | <style type="text/css"> | ||
@font-face { | @font-face { | ||
Line 24: | Line 20: | ||
font-family: "bebas"; | font-family: "bebas"; | ||
} | } | ||
− | # | + | #BMG p { |
color: white; | color: white; | ||
font-family: "helveticaNL"; | font-family: "helveticaNL"; | ||
Line 32: | Line 28: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
− | + | function collapse() { | |
+ | /*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 43: | Line 48: | ||
}; | }; | ||
} | } | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | window.onload = revealProject(); | ||
</script> | </script> | ||
<div id="overview"> | <div id="overview"> | ||
− | + | <h3>Code</h3> | |
</div> | </div> | ||
− | <div id=" | + | <div id="BMG code"> |
− | + | <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> | |
</div> | </div> | ||
</html> | </html> |
Revision as of 15:36, 10 September 2015