1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
5 <style type="text/css">
7 td { font-family: 'monospace'; font-size: 12pt}
8 textarea { font-size: 20pt; width: 100mm; }
11 <title>M17N Input Method by JavaScript</title>
12 <script src="xex.js"></script>
15 <body onload="MIM.init_debug ()">
16 <h4>m17n-lib input method in Javascript</h4>
18 <tr><th>textarea</th><td><textarea id="TEXTAREA" name="TEXTAREA"></textarea></td></tr>
19 <tr><th>text</th><td><form><input type="text" id="TEXT"></form></td></tr></table>
20 <div style="font-weight: bold;">debug Info</div>
22 <tr><th>key</th><th>status</th><th>keycode</th><th>keymap</th><th>preedit</th></tr>
23 <tr><th>down</th><td id="status0"></td><td id="keydown">0</td><td id="keymap0"></td><td id="preedit0"></td></tr>
24 <tr><th>press</th><td id="status1"></td><td id="keypress">0</td><td id="keymap1"></td><td id="preedit1"></td></tr>
26 <textarea style="font-family: 'monospace'; font-size: small; width: 100%" rows="20" id="log"></textarea>