Online Documentation
- Introducing ASPSpellCheck
- Introduction to ASPSpellCheck
- What's New
- Getting Started
- Installation and Settings
- Installation Process
- Compatibility
- Installing Dictionaries
- Your Custom Dictionary
- Enforcing Spelling Corrections
- The Settings File
- Usage
- Basics
- ASPSpellLink Class
- Properties
- caseSensitive
- checkGrammar
- dictionary
- dialogLanguage
- doneMessage
- externalCSS
- fields
- hideSummary
- ignoreAllCaps
- ignoreNumbers
- ignoreWebAddresses
- javaScriptCallback
- newSentanceOnEachNewLine
- useSession
- ASPSpellPath
- Methods
- buttonHTML
- buttonXHTML
- imageButtonHTML
- imageButtonXHTML
- linkHTML
- spellingCheck
- spellingSuggestions
- url
- Notes for Advanced Developers
- ASP.Net Compatibility
- Caching
- Examples
- Basic SpellCheck
- Server Side Spellchecking
- Language Variants
- Submitting a Form
- Rich Editors
- Licenses & Registration
- Free Trial
- Registering
- License Agreement
ASPSpellLink.imageButtonHTML(buttonImage,rolloverImage, buttonText)
The method imageButtonHTML returns a W3C compliant HTML string which can be used to add a visually pleasing button (with a roll-over state) to your ASP page. When this button is clicked, the ASPSpellCheck dialog will be opened.
Example image button:
The buttonImage parameter sets the path to an image you wish to use for the button. If this is set to an empty string (e.g. "") then the button above is rendered.
The rolloverImage parameter sets the path to an image you wish to use for the button. If this is set to an empty string (e.g. "") then there will be no customized rollover state.
The buttonText parameter represents the ALT text for the button. If set to an empty string (e.g. "") then the default value will be "Spell Check"
Example:
<!--#include virtual="/ASPSpellCheck/ASPSpellInclude.inc"-->
<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"
response.write myLink.imageButtonHTML("","","")
set myLink=nothing
%>

