Difference between revisions of "Team:Freiburg/pong"
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Freiburg/CSS}} | {{Freiburg/CSS}} | ||
{{Freiburg/Menubar}} | {{Freiburg/Menubar}} | ||
− | + | ||
<html> | <html> | ||
<style> | <style> | ||
− | # | + | #canvas_wrap{ |
− | + | width:100%; | |
+ | display: block; | ||
+ | margin:auto; | ||
} | } | ||
− | # | + | #pong_canvasObject{ |
− | + | z-index:9999; | |
+ | margin: auto; | ||
+ | display:block; | ||
} | } | ||
+ | |||
</style> | </style> | ||
− | |||
− | |||
<head> | <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> | </head> | ||
− | <body onLoad=" | + | <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> | |
− | + | </div> | |
− | + | </div> | |
− | + | ||
− | <div> | + | |
− | + | ||
− | + | ||
</body> | </body> | ||
</html> | </html> | ||
− |
Latest revision as of 20:35, 4 September 2015