
canvey
User
Sep 27, 2002, 6:15 AM
Post #1 of 8
(13066 views)
Shortcut
|
|
[ADDON] Spell Checker
|
Can't Post
|
|
Hi, I had a complaint about spelling an hour or so ago, so I have knocked up a quick spell checker - for articles in AM. Currently this does not seem to work in Opera, and I can't work out why - so if anyone can take this simle mod forward and develop it further, that would be great. It also will only check in a US dictionary :( Before editing any templates, back them up first - neither I nor IT will be liable if your site crashes, or your mother-in-law comes to stay as a direct result of using this mod ;) You will need to make this alteration in both /templates/interface/_art_menus.html and /templates/interface/_writer_menus.html Insert the code just above both the lines <!-- /templatecell : content --> and <!-- /templatecell : content_wysiwyg --> <tr> <td colspan=2> <input type="button" name="spellcheck" value="SpellCheck your Article" onclick="window.open('http://www.spellcheck.net/cgi-bin/spell.exe?action=checkpg&string='+escape(content.value), 'message', 'toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,width=500,height=520');" class="buttons" /> </td> </tr> You may need to alter the colspan bit to fit in with your layout. As I said before, if anyone can get this working in Opera or other browsers, please do and share the new code below.... Enjoy....
|