In-page Hints

Hot Lingo spell-checks all textual input elements within a web page or, depending on user-specified settings, only inputs found within <FORM> elements. In certain cases it may be desirable to customize the behavior of Hot Lingo for a given web page, either to ensure scripted elements are included or to ignore inputs that should not be spell checked. To enable this, Hot Lingo recognizes custom attributes that can be applied to the <BODY>, <INPUT> and <TEXTAREA> elements.

Custom attributes are generally parsed but ignored by browsers, however from within Microsoft Internet Explorer these attributes can be set programmatically from within script executed on the onLoad page event - useful if a web page needs to conform to W3C valid HTML DTD.

In-page Hint Sample

Notes: End-users may choose to disable the in-page hint feature. The use of this feature from within web pages requires knowledge of HTML.

<BODY> Element
hotlingo_page

This attribute must be included in the <BODY> element of a page to enable the in-page hint feature within Hot Lingo.

Values:

true

Enables the in-page hint feature.

false

Disables the in-page hint feature.

Usage:

<BODY hotlingo_page="true">

or (javascript)

document.body.setAttribute( "hotlingo_page" ,"true" );


<BODY> Element
hotlingo_all_inputs

Hot Lingo can spell check inputs found within a <FORM> element only, or from the entire web page. This attribute can be used to indicate the desired spell checking behavior for a given page.

Values:

true

Include input elements found anywhere within the current web page.

False

Only include inputs found within a <FORM> element.

Usage:

<BODY hotlingo_page="true" hotlingo_all_inputs="true">

or (javascript)

document.body.setAttribute( "hotlingo_page" ,"true" );
document.body.setAttribute( "hotlingo_all_inputs" ,"true" );


<BODY> Element
hotlingo_applets

Hot Lingo has additional support for applets and ActiveX controls used by Lotus iNotes and Microsoft Exchange OWA. To ensure applet support within a page employing such technology, the hotlingo_applets attribute can be set to "true".

Values:

true

Perform additional spell checking of applets supported by Hot Lingo.

False

Only spell check <INPUT> and <TEXTAREA> elements.

Usage:

<BODY hotlingo_page="true" hotlingo_applets="true">

or (javascript)

document.body.setAttribute( "hotlingo_page" ,"true" );
document.body.setAttribute( "hotlingo_applets" ,"true" );


<INPUT> and <TEXTAREA> Elements
hotlingo_ignore

Hot Lingo does not spell check read-only or hidden text inputs. Optionally Hot Lingo can be instructed to ignore specific text inputs using the hotlingo_ignore attribute set to "true" for <INPUT> and <TEXTAREA> elements.

Values:

true

Hot Lingo is to ignore the text input.

False

Include (depending on the value of the <BODY> element's hotlingo_all_inputs attribute) the text input in a spell check.

Usage:

<BODY hotlingo_page="true">
<INPUT TYPE="text" hotlingo_ignore="true">

or (javascript, assumes an <INPUT> or <TEXTAREA> element named "myTextInput")

document.body.setAttribute( "hotlingo_page" ,"true" );
document.all("myTextInput").setAttribute( "hotlingo_ignore" ,"true" );