-
Notifications
You must be signed in to change notification settings - Fork 0
/
playpiano.html
194 lines (187 loc) · 7.82 KB
/
playpiano.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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Rock+Salt" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Shadows+Into+Light" rel="stylesheet">
<script src="./js/bootstrap.bundle.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link href="./css/style6.css" type="text/css" rel="stylesheet">
<title>Piano ♪</title>
</head>
<body>
<div class="top-container">
<div class="navbar">
<a href="index.html"> <img src="./img/index/logo3.png" alt="Logo Icon" id="logo"></a>
<div class="bar">
<a href="index.html" id="home">首頁</a>
<div class="dropdown">
<button class="dropbtn">歷年活動▾</button>
<div class="dropdown-content">
<a href="105first.html">105上-琴流感</a>
<a href="#">105上-琴之憶</a>
<a href="#">106上-琴天鋼</a>
<a href="#">106下-期末發表會</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">幹部介紹▾</button>
<div class="dropdown-content">
<a href="16.html">16屆幹部</a>
<a href="17.html">17屆幹部</a>
</div>
</div>
<a href="FAQ.html">FAQ</a>
<a href="about.html">關於賦展</a>
<a href="playpiano.html">Piano ♪</a>
<a href="aboutus.html">About Us</a>
</div>
</div>
</div>
<div class="first-container">
<!-- Piano -->
<ul class="piano">
<li class="key">
<span class="white-key" data-key="20" data-note="1C">
<span class="normalkey">caps</span>
<span class="normal">C</span>
</span>
<span class="black-key" data-key="81" data-note="1Cs">
<span class="sharpkey">'q'</span>
<span class="sharp">C#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="65" data-note="1D">
<span class="normalkey">'a'</span>
<span class="normal">D</span>
</span>
<span class="black-key" data-key="87" data-note="1Ds">
<span class="sharpkey">'w'</span>
<span class="sharp">D#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="83" data-note="1E">
<span class="normalkey">'s'</span>
<span class="normal">E</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="68" data-note="1F">
<span class="normalkey">'d'</span>
<span class="normal">F</span>
</span>
<span class="black-key" data-key="82" data-note="1Fs">
<span class="sharpkey">'r'</span>
<span class="sharp">F#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="70" data-note="1G">
<span class="normalkey">'f'</span>
<span class="normal">G</span>
</span>
<span class="black-key" data-key="84" data-note="1Gs">
<span class="sharpkey">'t'</span>
<span class="sharp">G#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="71" data-note="2A">
<span class="normalkey">'g'</span>
<span class="normal">A</span>
</span>
<span class="black-key" data-key="89" data-note="2As">
<span class="sharpkey">'y'</span>
<span class="sharp">A#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="72" data-note="2B">
<span class="normalkey">'h'</span>
<span class="normal">B</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="74" data-note="2C">
<span class="normalkey">'j'</span>
<span class="normal">C</span>
</span>
<span class="black-key" data-key="73" data-note="2Cs">
<span class="sharpkey">'i'</span>
<span class="sharp">C#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="75" data-note="2D">
<span class="normalkey">'k'</span>
<span class="normal">D</span>
</span>
<span class="black-key" data-key="79" data-note="2Ds">
<span class="sharpkey">'o'</span>
<span class="sharp">D#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="76" data-note="2E">
<span class="normalkey">'l'</span>
<span class="normal">E</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="186" data-note="2F">
<span class="normalkey">;</span>
<span class="normal">F</span>
</span>
<span class="black-key" data-key="219" data-note="2Fs">
<span class="sharpkey">'['</span>
<span class="sharp">F#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="222" data-note="2G">
<span class="normalkey">"</span>
<span class="normal">G</span>
</span>
<span class="black-key" data-key="221" data-note="2Gs">
<span class="sharpkey">]</span>
<span class="sharp">G#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="220" data-note="3A">
<span class="normalkey">\</span>
<span class="normal">A</span>
</span>
<span class="black-key" data-key="13" data-note="3As">
<span class="sharpkey">↳</span>
<span class="sharp">A#</span>
</span>
</li>
<li class="key">
<span class="white-key" data-key="37" data-note="3B">
<span class="normalkey">←</span>
<span class="normal">B</span>
</span>
</li>
</ul>
</div>
<!-- End Piano -->
<div id="page">
<div class="second-container">
<p style="font-size:80px;">鍵盤鋼琴</p><br>
<p style="font-size:40px;">利用鍵盤或滑鼠彈钢琴</p>
</div>
<div class="third-container">
<button class="musicbutton">隱藏音符</button>
<button class="keybutton">隱藏提示</button>
</div>
</div>
<script src="./js/script.js" charset="utf-8"></script>
<script src="./js/piano.js" charset="utf-8"></script>
</body>
</html>