-
Notifications
You must be signed in to change notification settings - Fork 10
/
key-event-viewer-ce.html
44 lines (32 loc) · 1.3 KB
/
key-event-viewer-ce.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Keyboard Event Viewer</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<script type="text/javascript" src="output-table.js" ></script>
<script type="text/javascript" src="options.js" ></script>
<script type="text/javascript" src="shared.js" ></script>
<script type="text/javascript" src="key-event-viewer.js" ></script>
<style title="inject"></style>
<link rel="stylesheet" type="text/css" href="key-event-viewer.css" />
<link rel="stylesheet" type="text/css" href="shared.css" />
</head>
<body>
<a class="main_link" href="index.html">DOM Event Viewers</a>
<h1>Keyboard Event Viewer <span class="subtitle">for contenteditable</span></h1>
<p>UserAgent: <span id="useragent"></span></p>
<p><code>div</code> with <code>contenteditable="true"</code>:</p>
<div id="input" contenteditable="true" class="div_ce">Initial text</div>
<p>
<input id="resetTable" type="button" onclick="resetTable();return false" value="Clear Table"/>
<a id="optionsToggle" href="javascript:toggleOptions()">Show Options</a>
</p>
<div id="options"></div>
<table id="output">
</table>
<script language="javascript">
init();
</script>
</body>
</html>