3 Strangely, IE sucks with or without the DOCTYPE switch.
4 I thought it would only suck without it.
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
7 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
9 Spell Checker Plugin for HTMLArea-3.0
10 Implementation by Mihai Bazon. Sponsored by www.americanbible.org
12 htmlArea v3.0 - Copyright (c) 2003 interactivetools.com, inc.
13 This notice MUST stay intact for use (see license.txt).
15 A free WYSIWYG editor replacement for <textarea> fields.
16 For full source code and docs, visit http://www.interactivetools.com/
18 Version 3.0 developed by Mihai Bazon for InteractiveTools.
19 http://students.infoiasi.ro/~mishoo
24 <html xmlns=
"http://www.w3.org/1999/xhtml">
27 <title>Spell Checker
</title>
28 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
29 <script type=
"text/javascript" src=
"spell-check-ui.js"></script>
31 <style type=
"text/css">
32 html
, body
{ height: 100%; margin: 0px; padding: 0px; background-color: #fff;
34 a:link
, a:visited
{ color: #00f; text-decoration: none
; }
35 a:hover
{ color: #f00; text-decoration: underline
; }
37 table
{ background-color: ButtonFace
; color: ButtonText
;
38 font-family: tahoma
,verdana
,sans-serif
; font-size: 11px; }
40 iframe
{ background-color: #fff; color: #000; }
42 .controls { width: 13em; }
43 .controls .sectitle { /* background-color: #736c6c; color: #fff;
44 border-top: 1px solid #000; border-bottom: 1px solid #fff; */
46 font-weight: bold
; padding: 2px 4px; }
47 .controls .secbody { margin-bottom: 10px; }
49 button
, select
{ font-family: tahoma
,verdana
,sans-serif
; font-size: 11px; }
50 button
{ width: 6em; padding: 0px; }
52 input
, select
{ font-family: fixed
,"andale mono",monospace
; }
54 #v_currentWord { color: #f00; font-weight: bold
; font-size: 120%; }
55 #statusbar { padding: 7px 0px 0px 5px; }
56 #status { font-weight: bold
; }
61 <body onload=
"initDocument()">
63 <form style=
"display: none;" action=
"spell-check-logic.cgi"
64 method=
"post" target=
"framecontent"
65 accept-charset=
"utf-8"
66 ><input type=
"hidden" name=
"content" id=
"f_content"
67 /><input type=
"hidden" name=
"dictionary" id=
"f_dictionary"
68 /><input type=
"hidden" name=
"init" id=
"f_init" value=
"1"
71 <table style=
"height: 100%; width: 100%; border-collapse: collapse;" cellspacing=
"0" cellpadding=
"0">
73 <td colspan=
"2" style=
"height: 1em; padding: 2px;">
74 <div style=
"float: right; padding: 2px;"><span>Dictionary
</span>
75 <select id=
"v_dictionaries" style=
"width: 10em"></select>
76 <button id=
"b_recheck">Re-check
</button>
78 <span id=
"status">Please wait. Calling spell checker.
</span>
82 <td valign=
"top" class=
"controls">
83 <div class=
"sectitle">Original word
</div>
84 <div class=
"secbody" id=
"v_currentWord" style=
"text-align: center">pliz weit ;-)
</div>
85 <div class=
"sectitle">Replace with
</div>
87 <input type=
"text" id=
"v_replacement" style=
"width: 94%; margin-left: 3%;" /><br />
88 <div style=
"text-align: center; margin-top: 2px;">
89 <button id=
"b_replace">Replace
</button><button
90 id=
"b_replall">Replace all
</button><br /><button
91 id=
"b_ignore">Ignore
</button><button
92 id=
"b_ignall">Ignore all
</button>
95 <div class=
"sectitle">Suggestions
</div>
97 <select size=
"11" style=
"width: 94%; margin-left: 3%;" id=
"v_suggestions"></select>
102 <iframe src=
"about:blank" width=
"100%" height=
"100%"
103 id=
"i_framecontent" name=
"framecontent"></iframe>
107 <td style=
"height: 1em;" colspan=
"2">
108 <div style=
"padding: 4px 2px 2px 2px; float: right;">
109 <button id=
"b_ok">OK
</button>
110 <button id=
"b_cancel">Cancel
</button>
112 <div id=
"statusbar"></div>