Team:Johns Hopkins/Protocols
From 2008.igem.org
(Difference between revisions)
Line 21: | Line 21: | ||
var hi = "Hello World!"; | var hi = "Hello World!"; | ||
var r=Math.floor(Math.random()*256)+500; | var r=Math.floor(Math.random()*256)+500; | ||
- | document.write(r); | + | document.write(r + <br>); |
function disp_alert() | function disp_alert() | ||
{ | { | ||
Line 27: | Line 27: | ||
} | } | ||
wrier(); | wrier(); | ||
+ | |||
+ | 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>"; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | document.write(r + g + b); | ||
function wrier() | function wrier() |
Revision as of 18:32, 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!