Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 90: Line 90:
   reshtmlparamdiv += '<span style="font-weight:bold;padding:0.1em 0.3em;color:#FFFFFF;background-color:'+molecules[i].curve_color+';">'+molecules[i].name+'</span>&nbsp;';
   reshtmlparamdiv += '<span style="font-weight:bold;padding:0.1em 0.3em;color:#FFFFFF;background-color:'+molecules[i].curve_color+';">'+molecules[i].name+'</span>&nbsp;';
  }
  }
-
  reshtmlparamdiv += '<br />';
+
   
-
 
+
for(var i= 0 ; i < molecules.length ; ++i)
 +
{
 +
  if(molecules[i].adjustable)
 +
  {
 +
  reshtmlparamdiv += '<br />';
 +
  reshtmlparamdiv += molecules[i].name + ' = <input type="number" min="0" value="'+molecules[i].quantity+'" />';
 +
  }
 +
}
  paramdiv.innerHTML= reshtmlparamdiv;
  paramdiv.innerHTML= reshtmlparamdiv;

Revision as of 20:07, 2 August 2013