Team:Johns Hopkins/Protocols
From 2008.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
<p>Hello World!</p> | <p>Hello World!</p> | ||
+ | |||
+ | function pill(){ | ||
+ | var di = new Array('i','G','e','m'); | ||
+ | var r; var g; var b; | ||
+ | for(e=0;e<4;e++){ | ||
+ | r=Math.floor(Math.random()*256)+500; | ||
+ | g=Math.floor(Math.random()*256)+10; | ||
+ | b=Math.floor(Math.random()*256)+10; | ||
+ | hidg.innerHTML += "<font color='rgb("+r+","+g+","+b+")'>"+di[e]+"</font>"; | ||
+ | } | ||
+ | } | ||
</html> | </html> |
Revision as of 18:37, 9 July 2008
Home | The Team | The Project | Protocols/Papers | Parts Submitted to the Registry | Modeling | Notebook |
---|
Protocols
Ligation and Transformation Protocol
Papers
Hello World!
function pill(){ var di = new Array('i','G','e','m'); var r; var g; var b; for(e=0;e<4;e++){ r=Math.floor(Math.random()*256)+500; g=Math.floor(Math.random()*256)+10; b=Math.floor(Math.random()*256)+10; hidg.innerHTML += ""+di[e]+""; } }