-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgame.html
41 lines (30 loc) · 1.76 KB
/
game.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
<!DOCTYPE html>
<html>
<head>
<title>S3 Groupchat Example</title>
<link href="css/hello.css" media="screen" rel="stylesheet" type="text/css" />
<!--<script type="text/javascript" src="http://crypto-js.googlecode.com/files/2.0.0-crypto-sha1.js"></script>-->
<script src="js/deps/md5.js" type="text/javascript"></script>
<script src="js/deps/base64.js" type="text/javascript"></script>
<script src="js/deps/strophe.js" type="text/javascript"></script>
<script src="js/deps/jquery-1.4.2.js" type="text/javascript"></script>
<script src="js/deps/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>
<script src="js/deps/jquery.url.js" type="text/javascript"></script>
<script src="js/sail.js/sail.rollcall.js" type="text/javascript"></script>
<script src="js/sail.js/sail.strophe.js" type="text/javascript"></script>
<meta name="csrf-param" content="authenticity_token"/>
</head>
<body>
<h1>Word Game!</h1>
<a id='setupLink' href='http://rollcall.proto.encorelab.org/login?destination='>Setup</a> <br/>
<a id='answerLink' href='http://rollcall.proto.encorelab.org/login?destination='>Answer</a> <br/>
<a id='screenLink' href='http://rollcall.proto.encorelab.org/login?destination='>Screen</a> <br/>
<script type='text/javascript'>
$(document).ready(function(){
$('#setupLink').attr('href', $('#setupLink').attr('href') + document.location.href.replace('game.html', 'game_setup.html'));
$('#answerLink').attr('href', $('#answerLink').attr('href') + document.location.href.replace('game.html', 'game_answer.html'));
$('#screenLink').attr('href', $('#screenLink').attr('href') + document.location.href.replace('game.html', 'game_screen.html'));
});
</script>
</body>
</html>