Specifies whether the mouse pointer is currently over an item or page.
This option is set by an external program such as a parser, and is not saved or transmitted as part of the form. Instead, it is automatically created each time the form is read into memory, and is maintained only during display or processing.
<mouseover>status</mouseover>
Parameter | Type | Description |
---|---|---|
status | on | mouse pointer is over item or page |
off | mouse pointer is not over item or page |
button, check, checkgroup, combobox, field, list, popup, radio, radiogroup, richtext, toolbar, page global
The following example shows a button that changes its color to white if it the mouse pointer is over it, and to blue if the pointer is not over it.
<button sid="saveButton">
<type>saveas</type>
<value>Save</value>
<bgcolor compute="mouseover == 'on' ? 'white' :
'blue'"></bgcolor>
</button>