-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
298 lines (287 loc) · 12.2 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
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Page Title -->
<title>A Web-based, Virtual Keyboard by Brian Fryer</title>
<!-- Meta Data -->
<meta charset="UTF-8">
<!-- Stylesheet Links -->
<link rel="stylesheet" href="css/base.css" type="text/css" />
<link title="css-toggle" rel="stylesheet" href="css/dark.css" type="text/css" />
<!-- Script Tags -->
<!-- Make HTML5 works in older browsers -->
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<!-- Load jQuery -->
<script src="http://code.jquery.com/jquery-1.8.1.js"></script>
<!-- Toggle between different stylesheets -->
<script src="js/jquery.csstoggle.js"></script>
<!-- Input characters into the textarea when keys are clicked or pressed -->
<script src="js/jquery.insertatcaret.js"></script>
<!-- Determine if capslock is on or off -->
<script src="js/jquery.capslock.js"></script>
<!-- The magic -->
<script src="js/jquery.onscreentyping.js"></script>
</head>
<body>
<div class="wrapper">
<section class="screen">
<textarea name="screen"></textarea>
</section>
<section class="dark keyboard">
<ul class="keys">
<!--<li class="escape alpha modifier gap">
<span class="active">Esc</span>
</li>
<li class="f1 function">
<span class="active">F1</span>
</li>
<li class="f2 function">
<span class="active">F2</span>
</li>
<li class="f3 function">
<span class="active">F3</span>
</li>
<li class="f4 function gap">
<span class="active">F4</span>
</li>
<li class="f5 function">
<span class="active">F5</span>
</li>
<li class="f6 function">
<span class="active">F6</span>
</li>
<li class="f7 function">
<span class="active">F7</span>
</li>
<li class="f8 function gap">
<span class="active">F8</span>
</li>
<li class="f9 function">
<span class="active">F9</span>
</li>
<li class="f10 function">
<span class="active">F10</span>
</li>
<li class="f11 function">
<span class="active">F11</span>
</li>
<li class="f12 omega function">
<span class="active">F12</span>
</li>-->
<li class="accent tilde alpha double-character symbol">
<span class="active">`</span>
<span class="inactive">~</span>
</li>
<li class="num1 exclamation-mark double-character number symbol">
<span class="active">1</span>
<span class="inactive">!</span>
</li>
<li class="num2 at-symbol double-character number symbol">
<span class="active">2</span>
<span class="inactive">@</span>
</li>
<li class="num3 number-sign double-character number symbol">
<span class="active">3</span>
<span class="inactive">#</span>
</li>
<li class="num4 dollar-sign double-character number symbol">
<span class="active">4</span>
<span class="inactive">$</span>
</li>
<li class="num5 percent-sign double-character number symbol">
<span class="active">5</span>
<span class="inactive">%</span>
</li>
<li class="num6 caret double-character number symbol">
<span class="active">6</span>
<span class="inactive">^</span>
</li>
<li class="num7 ampersand double-character number symbol">
<span class="active">7</span>
<span class="inactive">&</span>
</li>
<li class="num8 asterisk double-character number symbol">
<span class="active">8</span>
<span class="inactive">*</span>
</li>
<li class="num9 opening-paren double-character number symbol">
<span class="active">9</span>
<span class="inactive">(</span>
</li>
<li class="num0 closing-paren double-character number symbol">
<span class="active">0</span>
<span class="inactive">)</span>
</li>
<li class="hyphen underscore double-character symbol">
<span class="active">-</span>
<span class="inactive">_</span>
</li>
<li class="equal plus double-character symbol">
<span class="active">=</span>
<span class="inactive">+</span>
</li>
<li class="backspace omega modifier">
<span class="active">Backspace</span>
</li>
<li class="tab alpha modifier">
<span class="active">Tab</span>
</li>
<li class="q letter">
<span class="active">q</span>
</li>
<li class="w letter">
<span class="active">w</span>
</li>
<li class="e letter">
<span class="active">e</span>
</li>
<li class="r letter">
<span class="active">r</span>
</li>
<li class="t letter">
<span class="active">t</span>
</li>
<li class="y letter">
<span class="active">y</span>
</li>
<li class="u letter">
<span class="active">u</span>
</li>
<li class="i letter">
<span class="active">i</span>
</li>
<li class="o letter">
<span class="active">o</span>
</li>
<li class="p letter">
<span class="active">p</span>
</li>
<li class="opening-bracket opening-brace double-character symbol">
<span class="active">[</span>
<span class="inactive">{</span>
</li>
<li class="closing-bracket closing-brace double-character symbol">
<span class="active">]</span>
<span class="inactive">}</span>
</li>
<li class="backslash vertical-bar omega double-character symbol">
<span class="active">\</span>
<span class="inactive">|</span>
</li>
<li class="caps-lock alpha modifier">
<span class="active">Caps Lock</span>
</li>
<li class="a letter">
<span class="active">a</span>
</li>
<li class="s letter">
<span class="active">s</span>
</li>
<li class="d letter">
<span class="active">d</span>
</li>
<li class="f letter marker">
<span class="active">f</span>
</li>
<li class="g letter">
<span class="active">g</span>
</li>
<li class="h letter">
<span class="active">h</span>
</li>
<li class="j letter marker">
<span class="active">j</span>
</li>
<li class="k letter">
<span class="active">k</span>
</li>
<li class="l letter">
<span class="active">l</span>
</li>
<li class="semi-colon colon double-character symbol">
<span class="active">;</span>
<span class="inactive">:</span>
</li>
<li class="quote double-quote double-character symbol">
<span class="active">'</span>
<span class="inactive">"</span>
</li>
<li class="enter omega modifier">
<span class="active">Enter</span>
</li>
<li class="left shift alpha modifier">
<span class="active">Shift</span>
</li>
<li class="z letter">
<span class="active">z</span>
</li>
<li class="x letter">
<span class="active">x</span>
</li>
<li class="c letter">
<span class="active">c</span>
</li>
<li class="v letter">
<span class="active">v</span>
</li>
<li class="b letter">
<span class="active">b</span>
</li>
<li class="n letter">
<span class="active">n</span>
</li>
<li class="m letter">
<span class="active">m</span>
</li>
<li class="comma less-than-sign double-character symbol">
<span class="active">,</span>
<span class="inactive"><</span>
</li>
<li class="period greater-than-sign double-character symbol">
<span class="active">.</span>
<span class="inactive">></span>
</li>
<li class="forward-slash question-mark double-character symbol">
<span class="active">/</span>
<span class="inactive">?</span>
</li>
<li class="right shift omega modifier symbol">
<span class="active">Shift</span>
</li>
<li class="left ctrl alpha modifier">
<span class="active">Ctrl</span>
</li>
<li class="left windows-key">
<span class="active"></span>
</li>
<li class="left alt modifier">
<span class="active">Alt</span>
</li>
<li class="space-bar">
<span class="active"></span>
</li>
<li class="right alt modifier">
<span class="active">Alt</span>
</li>
<li class="right windows-key">
<span class="active"></span>
</li>
<li class="right ctrl omega modifier">
<span class="active">Ctrl</span>
</li>
</ul><!-- .keys -->
</section><!-- #keyboard -->
<!--<ul class="toggle-css" style="margin-top: 200px;">
<li id="dark-css">
<i></i>Black on Black
</li>
<li id="high-contrast-css">
<i></i>Black on White
</li>
<li id="light-css">
<i></i>White on White
</li>
</ul><!-- .toggle-css -->
</div><!-- #wrapper -->
</body>
</html>