-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile.html
71 lines (70 loc) · 1.59 KB
/
mobile.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
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<title>Anymos</title>
<link rel="shortcut icon" type="image/png" href="favicon.png">
<style>
body {
width : 100%;
height : 100%;
margin : 0;
border : none;
padding : 0;
background-color : #000000;
}
#Game {
width : 100%;
height : 100%;
margin : 0;
border : none;
padding : 0;
}
#GameBox {
position : absolute;
z-index : 1;
width : 100%;
margin : 0;
border : none;
padding : 0;
top : 0;
left : 0;
}
#FullBox {
width : 100%;
height : 100%;
margin : 0;
border : none;
padding : 0;
}
#Controller {
position : absolute;
z-index : 2;
top : 0;
left : 0;
width : 100%;
height : 100%;
}
</style>
<script type="text/javascript" src="src/controlInfo.js"></script>
<script type="text/javascript" src="src/controllerMobileShared.js"></script>
<script type="text/javascript" src="src/controllerMobileOuter.js"></script>
</head>
<body>
<div id="FullBox">
<canvas id="Controller"></canvas>
<div id="GameBox">
<iframe id="Game" title="Game" width="1200" height="900" src="index.html"></iframe>
</div>
</div>
<script>
var igame = document.getElementById("Game");
var fullBox = document.getElementById("FullBox");
var gameBox = document.getElementById("GameBox");
var canvas = document.getElementById("Controller");
//igame.addEventListener("load", begin);
//begin();
</script>
</body>
</html>