Platform SDK: Web Telephony Engine

AREA

ACCESSKEY=key
ALT=text
CLASS=classname
HREF=url
ID=value
NOHREF
STYLE=css1-properties
VOICEFILE=url
GRAMMAR=strings
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
event=script
>

Specifies a menu item inside a client-side image MAP if the map is specified as the USEMAP attribute of an IMG element.

Attributes

ACCESSKEY= key
Specifies the key attached to the menu item. If the ACCESSKEY attribute is not defined or the ACCESSKEY defined cannot be associated with the menu item, the WTE automatically assigns an ACCESSKEY attribute. For more information, see Assigning Dual Tone Multi-Frequency Digits to Menu Items.
ALT= text
The text associated with the menu item.
CLASS= classname
Specifies the class of the element being defined. This is used to associate a subclassed style sheet with the element.
HREF= url
Specifies the destination URL or anchor point.
ID= value
An SGML ID used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore ("_") can be used in the ID name. The ID should be unique throughout the document. If more than one object with the same ID exists in a document, a collection of those named items is created that can only be referenced by ordinal position.
NOHREF
Indicates that this item is not a menu item.
STYLE= css1-properties
Specifies an inline style sheet for the element.
VOICEFILE= url
Specifies the voice file attached with this element.
GRAMMAR= strings
Specifies a set of alternative words or phrases for the menu item. The caller can select the menu item by speaking any word or phrase in the set. This attribute is ignored if SR is not enabled. LANGUAGE= JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
Specifies the language the in which current script is written and invokes the proper scripting engine. The default value is JAVASCRIPT.
Language Description
JAVASCRIPT, JSCRIPT The scripting language is written in JScript.
VBS, VBSCRIPT The scripting language is written in VBScript.

event

Can be the onclick event or another events. Under the WTE, when the caller chooses a menu item from a image map, the onclick event fires only on the AREA element and bubbles to its ancestors. It is not fired on the IMG element itself if the element is not an ancestor of the AREA element.

Remarks

This is an empty element and does not require a closing element.

Example

<MAP>
<AREA AccessKey="7" HREF="http://www.microsoft.com/ie/">
<AREA HREF="sample.htm">
<AREA NOHREF>
</MAP>