Template:Team:Paris Saclay/simbox
From 2013.igem.org
(Difference between revisions)
Line 169: | Line 169: | ||
reshtmlparamdiv += '<span style="font-weight:bold;padding:0.1em 0.3em;color:#FFFFFF;background-color:'+simulations[id].molecules[i].curve_color+';">'+simulations[id].molecules[i].name+'</span> '; | reshtmlparamdiv += '<span style="font-weight:bold;padding:0.1em 0.3em;color:#FFFFFF;background-color:'+simulations[id].molecules[i].curve_color+';">'+simulations[id].molecules[i].name+'</span> '; | ||
} | } | ||
- | reshtmlparamdiv += '<span id="simbox_time_'+id+'">t = 0</span>' | + | reshtmlparamdiv += '<span id="simbox_time_'+id+'">t = 0</span>'; |
//quantity controls | //quantity controls | ||
for(var i= 0 ; i < simulations[id].molecules.length ; ++i) | for(var i= 0 ; i < simulations[id].molecules.length ; ++i) | ||
Line 258: | Line 258: | ||
} | } | ||
} | } | ||
- | document.getElementById('simbox_time_'+simid | + | document.getElementById('simbox_time_'+simid).innerHTML= 't = ' + simulations[simid].curtime; |
} | } | ||
Revision as of 01:50, 3 August 2013