Zrinity is the leader in enterprise-class email marketing
management solutions and content management solutions for marketing professionals and developers worldwide.
Knowledge BaseUsing ActivSpell 1.0 with ActivEdit 4.0
Override the spellcheckwin function to use an earler version of ActivSpell
ActivEdit 4.0 supports ActivSpell 2.0 by default to add support for spell checking all ActivEdit instances in form validation, but you can use an earlier version of ActivSpell by following these steps.
Step 1: Copy the spellchecker directory for the previous version of ActivSpell to /inc/spellchecker.
Step 2: Override the ActivEdit spellcheckwin function through the API by adding the following script to your form page.
<script language="JavaScript"> function aeapi_local_onLoad(aeObject, fieldname) { ae_spellcheckwin = function ae_spellcheckwin(num) { if (typeof(ae_spellwin) == "undefined" || ae_spellwin.closed) { //short circuit eval var szURL=inc + "spellchecker/window.cfm?jsvar=aeObjects["+num+"].DOM.body.innerHTML"; ae_spellwin = window.open(szURL, null, "height=230,width=450,status=no,toolbar=no,menubar=no,location=no"); } ae_spellwin.focus(); } } </script>
The szURL variable contains an application server specific extension. You may need to change it to asp, jsp or php if you use one of those application servers.