Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <script> document.body.addEventListener("load", page_loaded, false); function page_loaded() { var simboxes= getElementsByClassName("simbox"); for(var i=0 ; i < simboxe...")
 
(219 intermediate revisions not shown)
Line 1: Line 1:
-
<html>
+
<html><div class="simbox" data-width="785" data-height="300" data-load="https://2013.igem.org/Team:Paris_Saclay/</html>{{{load}}}<html>">Loading simulation...</div></html>
-
<script>
+
-
 
+
-
document.body.addEventListener("load", page_loaded, false);
+
-
 
+
-
function page_loaded()
+
-
{
+
-
var simboxes= getElementsByClassName("simbox");
+
-
for(var i=0 ; i < simboxes.length ; ++i)
+
-
{
+
-
  var sb= simboxes[i];
+
-
  alert(sb.textContent);
+
-
}
+
-
}
+
-
 
+
-
</script>
+
-
 
+
-
<div class="simbox" style="width:{{width}};height:{{height}}">{{load}}</div>
+
-
</html>
+

Latest revision as of 20:48, 27 September 2013

Loading simulation...