-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
executable file
·64 lines (56 loc) · 2.52 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>RickJS, a JavaScript port of XRick using HTML5</title>
<style>
html { height: 100%; }
body { height: 100%; margin:0; padding:0; background:#000; font-family: sans-serif }
.fr { float:right }
#parent { display:table; width:100%; height: 100%; }
#container { display:table-cell; width:100%; height:100%; overflow: hidden;background: #000;text-align: center; vertical-align: middle }
#nfo { width:100%; margin:0 auto; font-size:10px; color:#666; position: absolute; bottom:0; }
#nfo a { text-decoration:none; color:inherit }
#nfo a:hover { text-decoration:underline }
#gamepad { position: absolute; bottom: 15px; left: 0; right: 0; height: 200px; display:none;
background: url("data/control_left.png") center left no-repeat, url("data/control_right.png") center right no-repeat }
@media screen and (max-width: 500px) {
#container { vertical-align: top; }
#container canvas { margin-top: 10px; }
#gamepad { height: 120px; display:none;
background: url("data/control_sleft.png") center left no-repeat, url("data/control_sright.png") center right no-repeat }
}
</style>
<script>
/*
* RickJS, a JavaScript port of XRick
*
* Copyright (C) 1998-2002 BigOrno ([email protected]). All rights reserved.
* Copyright (C) 2012 Chrilith ([email protected]). All rights reserved.
*
* The use and distribution terms for this software are contained in the file
* named README, which can be found in the root of this distribution. By
* using this software in any fashion, you are agreeing to be bound by the
* terms of this license.
*
* You must not remove this notice, or any other, from this software.
*/
var midd = "test/", // Gamalto location
game = "source/" // Game location
mode = ".debug";
document.write(' \
<scr'+ 'ipt src="' + midd + 'gamalto' + mode + '.js"></scr'+ 'ipt> \
<scr'+ 'ipt src="' + game + 'xrick' + mode + '.js"></scr'+ 'ipt> \
');
</script>
</head>
<body>
<div id="parent"><div id="container"></div></div>
<div id="nfo">
<div class="fr">RickJS, based on <a href="http://www.bigorno.net/xrick/">xrick</a> by BigOrno</div>
Powered by <a href="http://www.gamalto.com/">Gamalto</a>
</div>
<div id="gamepad"></div>
</body>
</html>