source: sandbox/2.3-MailArchiver/expressoMail1_2/spell_checker/Readme.txt @ 6779

Revision 6779, 1.7 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1Version 2.8
2
3If you use this code, please give me credit.  I'd also like to see where you're using it.  So send me urls!
4
5
6See http://www.broken-notebook.com/spell_checker for the change log and further documentation.
7
8
9==============================HOW TO USE==================================
10
11Just unzip all the contents to the same directory.  You also need to make
12sure the personal_dictionary.txt file in the personal_dictionary directory
13is chmodded to 646.
14
15Just include cpaint2.inc.compressed.js, spell_checker.js, and spell_checker.css
16in the head of your page.
17
18The spell checker can be added to any text area on the page.  I chose to use
19the title and accesskey attributes instead of custom attributes for two reasons.
20One, they're not used very frequently, and two, so that the code would still be
21valid XHTML.
22
23Just add the title attribute to your text area and make it equal to "spellcheck"
24and set the accesskey attribute equal to the location of the spell_checker.php
25file and the Javascript will do the rest.
26
27Make sure you include a width and a height as well as a name and an id.
28Name and id should be unique.
29
30<textarea title="spellcheck" accesskey="spell_checker.php" id="spell_checker1" type="text" name="comment1" style="width: 400px; height: 200px;" />Text of box check</textarea>
31
32==========================================================================
33
34
35Note - This code requires php and the pspell module to work correctly.
36It has only been tested on Firefox and Internet Explorer so far, and I'm
37told that it works fine in Safari and some versions of Opera too.
38
39
40If you find any bugs or anything please email me and let me know.
41
42Garrison Locke
43
44gplocke@broken-notebook.com
45
46http://www.broken-notebook.com
Note: See TracBrowser for help on using the repository browser.