Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 16: Line 16:
function init_simbox(sb, id, xmlfile)
function init_simbox(sb, id, xmlfile)
{
{
-
  sb.style.backgroundColor="#FFAA00";
+
  var canv= document.createElement('canvas');
 +
canv.id= "simbox_canv"+id;
 +
canv.width= sb.style.width;
 +
canv.height= sb.style.height;
 +
 
 +
sb.appendChild(canvas);
}
}

Revision as of 18:08, 2 August 2013

{{{load}}}