forked from honghu91/musicmess
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplay.html
70 lines (64 loc) · 1.88 KB
/
play.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>We play birds</title>
<link type="text/css" rel="stylesheet" href="css/style.css" />
</head>
<body>
<div id="loading" class="loadingMask">
<div class="progressWrap">
<div id="progress" class="progress"></div>
</div>
<div id="progressValue" class="progressValue"></div>
</div>
<h1>We play birds</h1>
<div class="toolbar">
<a href="#" class="small-blue-button" id="loginBtn">Login</a>
<a href="#" class="small-blue-button" id="resetBtn">Reset</a>
<img id="wbBtn" src="./css/image/wb.png" class="wb-button" />
</div>
<a href="#" class="large-orange-button" id="guessBtn">确定了</a>
<a href="#" class="large-orange-button" id="startGuessBtn">点击此处开始猜</a>
<div id="stateWrap">
<div id="state"></div>
<div class="grass"></div>
<div id = "snspanel" style="display:none">
<div id="panel-handle"></div>
<ul id="friend_list">
</ul>
</div>
<div id="stateMask" class="stateMask">Loading...</div>
</div>
<div id="soundbar"></div>
<div class="mask" style="display:none"></div>
<div id="login" style="display:none">
<input type="text" placeholder="输入您的昵称" class="name" />
<input type="button" id="enter" />
</div>
<div id="ok">
</div>
<script src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/webkitAudioContext2.js"></script>
<script src="js/audio-service.js"></script>
<script src="js/loading.js"></script>
<script src="js/model.js"></script>
<script src="js/state.js"></script>
<script src="js/element.js"></script>
<script src="js/main.js"></script>
<script src="js/sns.js"></script>
<script src="js/login.js"></script>
<script>
$('body').bind('keydown', function ( e ){
var key = e.keyCode;
switch( key ){
case 27:
$('.mask').hide();
$('#login').hide();
break;
default:;
}
});
</script>
</script></body>
</html>