1 | <!--
|
---|
2 |
|
---|
3 | Strangely, IE sucks with or without the DOCTYPE switch.
|
---|
4 | I thought it would only suck without it.
|
---|
5 |
|
---|
6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
---|
7 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
---|
8 |
|
---|
9 | Spell Checker Plugin for HTMLArea-3.0
|
---|
10 | Implementation by Mihai Bazon. Sponsored by www.americanbible.org
|
---|
11 |
|
---|
12 | htmlArea v3.0 - Copyright (c) 2003 interactivetools.com, inc.
|
---|
13 | This notice MUST stay intact for use (see license.txt).
|
---|
14 |
|
---|
15 | A free WYSIWYG editor replacement for <textarea> fields.
|
---|
16 | For full source code and docs, visit http://www.interactivetools.com/
|
---|
17 |
|
---|
18 | Version 3.0 developed by Mihai Bazon for InteractiveTools.
|
---|
19 | http://students.infoiasi.ro/~mishoo
|
---|
20 |
|
---|
21 | $Id: spell-check-ui.html,v 1.2 2003/08/10 15:56:35 mishoo Exp $
|
---|
22 |
|
---|
23 | -->
|
---|
24 | <html xmlns="http://www.w3.org/1999/xhtml">
|
---|
25 |
|
---|
26 | <head>
|
---|
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>
|
---|
30 |
|
---|
31 | <style type="text/css">
|
---|
32 | html, body { height: 100%; margin: 0px; padding: 0px; background-color: #fff;
|
---|
33 | color: #000; }
|
---|
34 | a:link, a:visited { color: #00f; text-decoration: none; }
|
---|
35 | a:hover { color: #f00; text-decoration: underline; }
|
---|
36 |
|
---|
37 | table { background-color: ButtonFace; color: ButtonText;
|
---|
38 | font-family: tahoma,verdana,sans-serif; font-size: 11px; }
|
---|
39 |
|
---|
40 | iframe { background-color: #fff; color: #000; }
|
---|
41 |
|
---|
42 | .controls { width: 13em; }
|
---|
43 | .controls .sectitle { /* background-color: #736c6c; color: #fff;
|
---|
44 | border-top: 1px solid #000; border-bottom: 1px solid #fff; */
|
---|
45 | text-align: center;
|
---|
46 | font-weight: bold; padding: 2px 4px; }
|
---|
47 | .controls .secbody { margin-bottom: 10px; }
|
---|
48 |
|
---|
49 | button, select { font-family: tahoma,verdana,sans-serif; font-size: 11px; }
|
---|
50 | button { width: 6em; padding: 0px; }
|
---|
51 |
|
---|
52 | input, select { font-family: fixed,"andale mono",monospace; }
|
---|
53 |
|
---|
54 | #v_currentWord { color: #f00; font-weight: bold; font-size: 120%; }
|
---|
55 | #statusbar { padding: 7px 0px 0px 5px; }
|
---|
56 | #status { font-weight: bold; }
|
---|
57 | </style>
|
---|
58 |
|
---|
59 | </head>
|
---|
60 |
|
---|
61 | <body onload="initDocument()">
|
---|
62 |
|
---|
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"
|
---|
69 | /></form>
|
---|
70 |
|
---|
71 | <table style="height: 100%; width: 100%; border-collapse: collapse;" cellspacing="0" cellpadding="0">
|
---|
72 | <tr>
|
---|
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>
|
---|
77 | </div>
|
---|
78 | <span id="status">Please wait. Calling spell checker.</span>
|
---|
79 | </td>
|
---|
80 | </tr>
|
---|
81 | <tr>
|
---|
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>
|
---|
86 | <div class="secbody">
|
---|
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>
|
---|
93 | </div>
|
---|
94 | </div>
|
---|
95 | <div class="sectitle">Suggestions</div>
|
---|
96 | <div class="secbody">
|
---|
97 | <select size="11" style="width: 94%; margin-left: 3%;" id="v_suggestions"></select>
|
---|
98 | </div>
|
---|
99 | </td>
|
---|
100 |
|
---|
101 | <td>
|
---|
102 | <iframe src="about:blank" width="100%" height="100%"
|
---|
103 | id="i_framecontent" name="framecontent"></iframe>
|
---|
104 | </td>
|
---|
105 | </tr>
|
---|
106 | <tr>
|
---|
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>
|
---|
111 | </div>
|
---|
112 | <div id="statusbar"></div>
|
---|
113 | </td>
|
---|
114 | </tr>
|
---|
115 | </table>
|
---|
116 |
|
---|
117 | </body>
|
---|
118 |
|
---|
119 | </html>
|
---|