|
@@ -0,0 +1,28 @@
|
|
|
+<html>
|
|
|
+ <head><title>Canvas Experiments</title></head>
|
|
|
+ <body>
|
|
|
+ Canvas:<br>
|
|
|
+ <canvas id="tutorial" width="640" height="480"
|
|
|
+ style="border-style: dotted; border-width: 1px;">
|
|
|
+ Canvas not supported.
|
|
|
+ </canvas>
|
|
|
+ </body>
|
|
|
+
|
|
|
+ <!--
|
|
|
+ <script type='text/javascript'
|
|
|
+ src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
|
|
|
+ -->
|
|
|
+
|
|
|
+ <script src="../include/mootools.js"></script>
|
|
|
+ <script src="../include/util.js"></script>
|
|
|
+ <script src="../include/canvas.js"></script>
|
|
|
+
|
|
|
+ <script>
|
|
|
+ window.onload = function() {
|
|
|
+ console.log("here1");
|
|
|
+ Canvas.init('tutorial', 640, 480);
|
|
|
+ Canvas.draw();
|
|
|
+ console.log("here2");
|
|
|
+ }
|
|
|
+ </script>
|
|
|
+</html>
|