Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 88: Line 88:
  {
  {
   if(molecules[i].curve_show)
   if(molecules[i].curve_show)
 +
  reshtmlparamdiv += '<span style="font-weight:bold;padding:0.5em 0.1em;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].)
   reshtmlparamdiv += '<span style="color:#FFFFFF;background-color:'+molecules[i].curve_color+';">'+molecules[i].name+'</span>&nbsp;';
   reshtmlparamdiv += '<span style="color:#FFFFFF;background-color:'+molecules[i].curve_color+';">'+molecules[i].name+'</span>&nbsp;';
  }
  }

Revision as of 20:02, 2 August 2013