--- test/html-whatpm/parser-manakai-interface.en.html 2007/06/21 14:54:14 1.1 +++ test/html-whatpm/parser-manakai-interface.en.html 2008/12/11 03:22:57 1.5 @@ -6,7 +6,7 @@ form { display: block; position: relative; - height: 20em; + height: 30em; margin-left: 1em; margin-right: 1em; } @@ -19,13 +19,18 @@ border-style: none; padding: 0; } - iframe { + #result-para { display: block; position: absolute; top: 0; right: 0; width: 40%; bottom: 0; margin: 0; } + iframe { + display: block; + width: 100%; + height: 100%; + } textarea { width: 100%; height: 19em; @@ -55,9 +60,12 @@ margin-top: 0; margin-bottom: 0; } + #element { + width: 5em; + } - +

HTML5 Parser (beta) Web Interface (manakai Version)

@@ -67,11 +75,24 @@ var uri = 'parser-manakai/'; if (document.getElementById ('html5').checked) { uri += 'html/'; + uri += document.getElementById ('element').value + '/'; + } else if (document.getElementById ('xml1').checked) { + uri += 'xml1/'; + uri += document.getElementById ('element').value + '/'; + } else if (document.getElementById ('swml').checked) { + uri += 'swml/'; + uri += document.getElementById ('element').value + '/'; + } else if (document.getElementById ('h2h').checked) { + uri += 'h2h/'; + uri += document.getElementById ('element').value + '/'; } else { uri += 'xhtml/'; + uri += '/'; } if (document.getElementById ('format-test').checked) { this.action = uri + 'test'; + } else if (document.getElementById ('format-xml').checked) { + this.action = uri + 'xml'; } else { this.action = uri + 'html'; } @@ -88,15 +109,25 @@

-

-

-(slow)

+

+

+

+ +

+ +

+ +

Output format -

+

+

@@ -104,7 +135,7 @@
-

+

Powered by