File: index.html

package info (click to toggle)
js-of-ocaml 6.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,932 kB
  • sloc: ml: 135,957; javascript: 58,364; ansic: 437; makefile: 422; sh: 12; perl: 4
file content (28 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
          "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Graphics_js</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="main.bc.js"></script>
    <style type="text/css">
      html {
	  height: 110%;
	  background-color: #aaa
      }
      body {
	  min-height: 110%;
      }
      canvas {
	  background-color: #aaa333
    </style>
  </head>
  <body> 
    <canvas id="canvas" width=400 height=400 style="width:800px;height:800px" />
    <script type="text/javascript">
      var c = document.getElementById("canvas");
      init(c);
    </script>
  </body>
</html>