*** empty log message ***
[m17n/m17n-lib-js.git] / xex.html
index 872e515..f60ee20 100644 (file)
--- a/xex.html
+++ b/xex.html
@@ -4,7 +4,7 @@
   <meta http-equiv="content-type" content="text/html; charset=utf-8">
   <style type="text/css">
     <!--
-     td { font-family: 'monospace'; font-size: 12pt; width: 40mm}
+     td { font-family: 'monospace'; font-size: 12pt}
      textarea { font-size: 20pt; width: 100mm; }
       -->
   </style>
   <script src="xex.js"></script>
 </head>
 
-<body onload="MIM.test ()">
-<h1>m17n-lib input method in Javascript</h1>
-<h3>textarea</h3>
-<textarea name="TEXTAREA"></textarea>
-<h3>text</h3>
-<form><input type="text"></form>
-<br>
-<h3>debug Info</h3>
+<body onload="MIM.init_debug ()">
+<h4>m17n-lib input method in Javascript</h4>
+<table>
+<tr><th>textarea</th><td><textarea id="TEXTAREA" name="TEXTAREA"></textarea></td></tr>
+<tr><th>text</th><td><form><input type="text" id="TEXT"></form></td></tr></table>
+<div style="font-weight: bold;">debug Info</div>
 <table border="1">
-<tr><th>key</th><th>keycode</th><th>status</th><th>keyseq</th><th>range</th></tr>
-<tr><th>down</th><td id="keydown">0</td><td id="status0"><td id="keyseq0"></td><td id="range0"></td></tr>
-<tr><th>press</th><td id="keypress">0</td><td id="status1"><td id="keyseq1"></td><td id="range1"></td></tr>
+<tr><th>key</th><th>status</th><th>keycode</th><th>keymap</th><th>preedit</th></tr>
+<tr><th>down</th><td id="status0"></td><td id="keydown">0</td><td id="keymap0"></td><td id="preedit0"></td></tr>
+<tr><th>press</th><td id="status1"></td><td id="keypress">0</td><td id="keymap1"></td><td id="preedit1"></td></tr>
 </table>
-<br>
-<form><input type="text" id="text" style="width:100mm"></form>
+<textarea style="font-family: 'monospace'; font-size: small; width: 100%" rows="20" id="log"></textarea>
 </body>