Difference between revisions of "Team:Freiburg/pong"

 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Freiburg/CSS}}
 +
{{Freiburg/Menubar}}
 +
 
<html>
 
<html>
<meta charset="utf-8" />
 
 
<style>
 
<style>
 
+
#canvas_wrap{
#pong_canvasObject {
+
width:100%;
    background-color: #008000;
+
display: block;
    width: 675px;
+
margin:auto;
    height: 400px;
+
}
 +
#pong_canvasObject{
 +
z-index:9999;
 +
margin: auto;
 +
display:block;
 
}
 
}
  
 
</style>
 
</style>
 +
 +
 +
<head>
 +
<meta charset="utf-8" />
 +
  
 
<script type="text/javascript" src="https://2015.igem.org/Template:Freiburg/pong_js?
 
<script type="text/javascript" src="https://2015.igem.org/Template:Freiburg/pong_js?
 
action=raw&ctype=text/javascript"></script>
 
action=raw&ctype=text/javascript"></script>
 +
</head>
  
<body onload="pong_preload();">
+
<body onLoad="pong_preload();">
+
<div class="content_box">
<div class="content_box">
+
<div id=canvas_wrap>
+
<canvas id="pong_canvasObject" width="675" height="400"></canvas>
<canvas id="pong_canvasObject"></canvas>
+
</div>
 
+
 
</div>
 
</div>
 
 
 
</body>
 
</body>
  
 
</html>
 
</html>

Latest revision as of 20:35, 4 September 2015

""