-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
111 lines (92 loc) · 3.98 KB
/
index.html
File metadata and controls
111 lines (92 loc) · 3.98 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!doctype html>
<html xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html"
xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
<title>Remote Controller technology for any screen - RemoteAll.org</title>
<link rel="icon" type="image/ico" href="favicon.ico"/>
</head>
<body>
<link rel="stylesheet" type="text/css" href="./example/client_and_rc/css/client_and_rc.css"/>
<link rel="stylesheet" type="text/css" href="./css/remoteall.css"/>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="./js/remoteall.js"></script>
<!--CHECK socket.io.js SERVER-->
<script src="http://remoteall.paunin.com:8888/socket.io/socket.io.js"></script>
<script src="./js/config.js"></script>
<script src="./example/arconoid/js/game.js"></script>
<script src="./example/arconoid/js/main.js"></script>
<script>
$(document).ready(function () {
var rc_host = REMOTE_ALL_CONFIG.host.protocol + '://' + REMOTE_ALL_CONFIG.host.domain + ':' + REMOTE_ALL_CONFIG.host.port;
var rc_url = './example/client_and_rc/rc/rc.html#app=' + REMOTE_ALL_CONFIG.appId + '&session_id=' + REMOTE_ALL_CONFIG.uniqueSessionId + '&host=' + rc_host + '&type=js';
$('#qr').attr('src', '/qr.php?url=' + encodeURIComponent(rc_url));
//JS RC ON
$('#turn_rc_on').click(function () {
window.open(rc_url, 'rc', "menubar=no,location=no,resizable=no,scrollbars=no,status=no,width=500,height=250");
return false;
})
})
</script>
<div id="header">
<a href="https://github.com/immosmart/remoteall" id="forkme"><img src="./images/forkme.png"></a>
<div id="logo">REMOTE <sup>ALL</sup></div>
<div id="menu">
<a href="https://github.com/immosmart/remoteall/archive/master.zip">DOWNLOAD</a> |
<a href="./example">EXAMPLES</a> |
<a href="https://github.com/immosmart/remoteall/blob/master/README.md">DOCUMENTATION</a>
</div>
</div>
<div id="main_container">
<div id="description">
<img src="images/qr-code.gif" id="qr" align="left">
<div id="text_desc">Turn <b>MOBILE RC</b> or <a href="#" id="turn_rc_on">JS RC</a> on to play game<br/>
(press « or » button on joypad to start)
</div>
</div>
<div class="container">
<canvas id="scene" width="800" height="600"></canvas>
</div>
</div>
<div id="footer">
<div id="bottom_menu">
<a href="https://github.com/immosmart/remoteall/archive/master.zip">DOWNLOAD</a> |
<a href="./example">EXAMPLES</a> |
<a href="https://github.com/immosmart/remoteall/blob/master/README.md">DOCUMENTATION</a>
</div>
<br/>
© <a href="http://remoteall.org">RemoteAll.org</a>
</div>
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function () {
try {
w.yaCounter20232559 = new Ya.Metrika({id:20232559,
trackLinks:true,
accurateTrackBounce:true,
trackHash:true});
} catch (e) {
}
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () {
n.parentNode.insertBefore(s, n);
};
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else {
f();
}
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript>
<div><img src="//mc.yandex.ru/watch/20232559" style="position:absolute; left:-9999px;" alt=""/></div>
</noscript>
<!-- /Yandex.Metrika counter -->
</body>
</html>