Team:Groningen/create desc
From 2010.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<html> | <html> | ||
<script language="JavaScript"> | <script language="JavaScript"> | ||
+ | function characteristics() { | ||
+ | var txt = ""; | ||
+ | txt = "<b>Characteristics of BioBrick device/part</b><br>"; | ||
+ | txt+= "Type of BioBrick: "+document.inv.typ.value+"<br>"; | ||
+ | if (document.inv.inputs.value != "") { | ||
+ | txt += "Inputs: "+documents.inv.inputs.value+"<br>"; | ||
+ | } | ||
+ | if (document.inv.outputs.value !="") { | ||
+ | txt += "Outputs: "+document.inv.outputs.value+"<br>; | ||
+ | } | ||
+ | return txt; | ||
+ | } | ||
+ | |||
function post() { | function post() { | ||
Line 7: | Line 20: | ||
var ok = false; | var ok = false; | ||
if (document.inv.desc.value != "") { ok = true; } | if (document.inv.desc.value != "") { ok = true; } | ||
- | txt = "<b>Description</b><br>\n"+document.inv.desc.value+"<br><br><b>Safety Notes</b><br>"+document.inv.safety.value+"<br><br><b>Recommended working conditions/usage</b><br>"+document.inv.oper.value+"<br><br><b>Physical properties</b><br><br>"+document.inv.phys.value+"<br><i>Sequence</i><br>"+document.inv.seq.value+"<br>Length: "+document.inv.blength.value+" bps<BR><br><b>Inputs</b><br>"+document.inv.inputs.value+"<br><br><b>Outputs</b><br>"+document.inv.outputs.value+"<br><br><b>Characteristics</b><br>Ribosome transit rate:</b> "+document.inv.ribinv.value+"<br>Polymerase transit rate: </b>"+document.inv.polyinv.value+"<br>Host(s): "+"<br><b>Compatibility</b><br>"+document.inv.compat.value; | + | txt = "<b>Characteristics of BioBrick</b><br>"+characteristics()+"<b>Description</b><br>\n"+document.inv.desc.value+"<br><br><b>Safety Notes</b><br>"+document.inv.safety.value+"<br><br><b>Recommended working conditions/usage</b><br>"+document.inv.oper.value+"<br><br><b>Physical properties</b><br><br>"+document.inv.phys.value+"<br><i>Sequence</i><br>"+document.inv.seq.value+"<br>Length: "+document.inv.blength.value+" bps<BR><br><b>Inputs</b><br>"+document.inv.inputs.value+"<br><br><b>Outputs</b><br>"+document.inv.outputs.value+"<br><br><b>Characteristics</b><br>Ribosome transit rate:</b> "+document.inv.ribinv.value+"<br>Polymerase transit rate: </b>"+document.inv.polyinv.value+"<br>Host(s): "+"<br><b>Compatibility</b><br>"+document.inv.compat.value; |
txt = txt + "<textarea>"+txt+"</textarea>"; | txt = txt + "<textarea>"+txt+"</textarea>"; |
Revision as of 18:21, 26 October 2010