Team:Groningen/create desc
From 2010.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
txt = "<b>Characteristics of BioBrick device/part</b><br>"; | txt = "<b>Characteristics of BioBrick device/part</b><br>"; | ||
txt+= "Type of BioBrick: "+document.inv.typ.value+"<br>"; | txt+= "Type of BioBrick: "+document.inv.typ.value+"<br>"; | ||
- | if (document.inv.inputs.value != "") { | + | if (document.inv.inputs.value != "N/A") { |
txt += "Inputs: "+document.inv.inputs.value+"<br>"; | txt += "Inputs: "+document.inv.inputs.value+"<br>"; | ||
} | } | ||
- | if (document.inv.outputs.value !="") { | + | if (document.inv.outputs.value !="N/A") { |
txt += "Outputs: "+document.inv.outputs.value+"<br>"; | txt += "Outputs: "+document.inv.outputs.value+"<br>"; | ||
} | } | ||
Line 18: | Line 18: | ||
function physprop() { | function physprop() { | ||
var txt ="<b>Physical properties</b><br>"; | var txt ="<b>Physical properties</b><br>"; | ||
- | txt +="Sequence<br>"+document.inv.seq.value+"<br>Length: "+document.inv.blength.value+" bps<BR><br>Host:<br>"+document.inv.host.value+"<br>"; | + | txt +="Sequence<br>"+document.inv.seq.value+"<br>Length: "+document.inv.blength.value+" bps<BR><br>Host:<br>"+document.inv.host.value+"<br>Ribosome transit rate: "+document.inv.ribinv.value+"<br>Polymerase transit rate:"+document.inv.polyinv.value+"<br>; |
return txt; | return txt; | ||
} | } | ||
Line 31: | Line 31: | ||
var ok = false; | var ok = false; | ||
if (document.inv.desc.value != "") { ok = true; } | if (document.inv.desc.value != "") { ok = true; } | ||
- | txt = "<b>Characteristics of BioBrick</b><br>"+characteristics()+"<b>Description</b><br>\n"+document.inv.desc.value+"<br><br>"+physprop()+"<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><br><b>Characteristics</b> | + | txt = "<b>Characteristics of BioBrick</b><br>"+characteristics()+"<b>Description</b><br>\n"+document.inv.desc.value+"<br><br>"+physprop()+"<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><br><b>Characteristics</b><br>Host(s): "+"<br>"; |
txt = txt + "<textarea>"+txt+"</textarea>"; | txt = txt + "<textarea>"+txt+"</textarea>"; |
Revision as of 22:01, 26 October 2010