Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<script>
<script>
-
 
-
 
-
 
function page_loaded()
function page_loaded()
{
{
-
  var simboxes= getElementsByClassName("simbox");
+
  var simboxes= document.getElementsByClassName("simbox");
-
alert('a');
+
  for(var i=0 ; i < simboxes.length ; ++i)
  for(var i=0 ; i < simboxes.length ; ++i)
Line 17: Line 13:
window.addEventListener("load", page_loaded, false);
window.addEventListener("load", page_loaded, false);
 +
</script>
-
</script>
+
<div class="simbox" style="width:{{{width}}};height:{{{height}}}"></html>{{{load}}}<html></div>
-
<div class="simbox" style="width:{{width}};height:{{height}}">{{load}}</div>
 
</html>
</html>

Revision as of 17:55, 2 August 2013

{{{load}}}