File: index.html

package info (click to toggle)
js-of-ocaml 5.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,020 kB
  • sloc: ml: 91,250; javascript: 57,289; ansic: 315; makefile: 271; lisp: 23; sh: 6; perl: 4
file content (28 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (2)
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>