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"; | ||
} | } | ||
− | # | + | #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 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> | ||
<div id="overview"> | <div id="overview"> | ||
− | + | <h3>Code</h3> | |
</div> | </div> | ||
− | <div id=" | + | <div id="BMGcode"> |
− | + | <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:37, 10 September 2015