In addition to the information included in a MouseEvent, the HotSpotEvent includes attributes associated with the hot spot. These attributes come from query parameters in the image map that defines the hot spot.
For example, suppose the query parameters for the hot spot is:
x=0&xLabel=Mon&dataSet=0&dataSetName=Revenue&value=100 |
The HotSpotEvent object will contain the following attributes.
Attribute | Value |
---|---|
x | 0 |
xLabel | Mon |
dataSet | 0 |
dataSetName | Revenue |
value | 100 |
If there are two attributes with the same name in the query parameters, they will be merged into one attribute, with the values appended together, delimited using the ASCII unit separator character (ASCII code 31).
In addition to the attributes due to query parameters, the HotSpotEvent object contains three additional attributes as follows:
- The path attribute reflecting the path portion of the URL in the <AREA> tag that defines the hot spot.
- The coords attribute reflecting the coords attribute of the <AREA> tag that defines the hot spot.
- The title attribute reflecting the title attribute of the <AREA> tag that defines the hot spot.
Method | Inherited | Description |
---|---|---|
get | (Self) | Gets a named attribute associated with the hot spot. |
getAttrValues | (Self) | Gets a Hashtable containing the attributes associated with the hot spot. |
Note: Methods inherited from MouseEvent are omitted. |