|
Language Variants
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%option explicit%>
<!--#include virtual= "/ASPSpellCheck/ASPSpellInclude.inc"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" http://www.w3.org/TR/html4/loose.dtd>
<html>
<head>
<title>ASPSpellCheck Sample</title>
</head>
<body>
<textarea id="MyTextArea" name="MyTextArea" cols="30" rows="10" >
Hello World. Ths iz a tezt sampl.
</textarea>
<%
dim myLink
set myLink = new AspSpellLink
myLink.fields="MyTextArea"
myLink.dictionary = "Francais, English (Canada)
myLink.dialogLanguage= "FR" 'French Language Dialog
response.write myLink.imageButtonHTML ("","","")
set myLink=nothing
%>
</body>
</html>
Outcome:
French Dialog. Spellchecking in Canadian English and French similtaneously.
Notes:
You must install the appropriate dictionaries (such as "Francais" and "English (Canada)" before they can be used.
|