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>&nbsp;';
   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>&nbsp;';
  }
  }
 +
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 257: Line 258:
   }
   }
  }
  }
 +
document.getElementById('simbox_time_'+simid').innerHTML= simulations[simid].curtime;
}
}

Revision as of 01:49, 3 August 2013