Issue: I'd like a built in spell checker on my board that works like the FireFox browser spell check...that is, indicates mispelled words as you type, and then offers you replacement words on clicking the selected word.Spelling Cow
http://www.spellingcow.com/ could be your answer. A small script inserted into your wrappers:
Javascript:
| CODE |
<script type="text/javascript" src="http://buttercup.spellingcow.com/spell/scayt"></script> <script type="text/javascript"> <!-- var sc_ayt_params = { highlight_err_type : 'underline', ayt_default : 'off' };
//--> </script> |
- To use a yellow highlight instead of a red squiggle line, change underline to highlight
- to change the highlight color, add this line right after the one above:
highlight_err_color : 'gray', - To always enable spell check, change off to on
....more customization instructions including external style edit
This code will insert a check box under the posting screen for the user to select:
check while I type option
That will activate the code, but also display a banner add.
If you think your users wouldn't care if there was an ad there, you could use the
basic version of the script, which enables the yellow highlight spell check (and the ad) by default.
| CODE |
| <script type="text/javascript" src="http://buttercup.spellingcow.com/spell/scayt"></script> |
Personal use: For individual user that can be enabled to affect any posting screen as you move around the net, you can install a SpellingCow favelet (personal user script) that operates from a bookmark link you can install in FF and IE. Check it out here:
http://www.spellingcow.com/favelet.html(Note: I wasn't able to get the wrappers version to work in IE6 on my ZetBoards site, but not sure if that is my own old computer issues or a problem with the code. On my IF board, it works in both FF and IE, but in IE it pushes my smilie box down the page. This could be a conflict with the scroll box code I have installed on that board, or it could be an issue with IE...don't know. Personal version works fine in both FF and IE for me.)
Very nice, at the moment, my forum already has a built in spell checker, if it didn't I'd definitaly be using this one ^^
I'm mostly intrigued by the COWS AJAX method :) I've just started with AJAX but I know it's limitations, and stuff like this gives you an idea of how much more you can do with it.
The ajax thing really does seem to be a breakthrough in this application.
If anyone installs this and gets it to work in IE, please post. I don't want to discourage people from trying this if the problem I'm having is localize to me.
It seems it's FF with the auto spell checker, I'll install it on my forum and try it on IE, I'll edit this post with the result ^^
EDIT: It seemed when I used this code with IE, the ad showed up below the post, but the underline didn't show up