-
Notifications
You must be signed in to change notification settings - Fork 0
/
index3.html
58 lines (51 loc) · 1.74 KB
/
index3.html
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<meta name="robots" content="noindex">
<!-- matter lib v0.8.0 -->
<script type="text/javascript" src="./js/lib/matter-0.8.0.js"></script>
<script type="text/javascript" src="./js/jquery-1.11.2.min.js"></script>
<!-- only required if using MatterTools -->
<!--
<link rel="stylesheet" href="./js/lib/matter-tools/matter-tools.css" type="text/css">
<script type="text/javascript" src="./js/lib/matter-tools/matter-tools-dev.js"></script>
-->
<style>
body {
display:table;
}
.container {
display:table-row;
}
#canvas-container {
display:table-cell;
}
#health-bar{
width:150px;
display:table-cell;
vertical-align: top;
}
#add_sugar {
width:150px;
display:table-cell;
vertical-align: top;
}
#add_sugar input {
width:150px;
height:30px;
}
</style>
<title>Jump Sugar</title>
</head>
<body>
<div class="container">
<div id="canvas-container"></div>
<div id="add_sugar"><input type="button" onclick="addNewBox()" value="Add Jump Sugar" ></div>
<div id="health-bar"></div>
</div>
</body
</html>
<script type="text/javascript" src="./js/Demo.js"></script>