asp.net.ph

onmouseover Event

DHTML Events


Fires when the user moves the mouse pointer over the object.

Syntax


Inline HTML <element onmouseover = "handler" ... > All platforms
Event property object.onmouseover = handler ECMA-262 Language Specification
Named script <script FOR=object EVENT=onmouseover> Internet Explorer® only

Remarks


Bubbles Yes
Cancels Yes
To invoke Move the mouse pointer over an object.
Default action Initiates any action associated with this event.

A mouseover event occurs when the pointing device first enters the object and does not repeat unless the user moves the pointer out of the object and then back into it. This event is valid for most elements.

Event Object Properties

While event handlers in the Document Object Model do not receive parameters directly, the handler can query the event object for data.

Event Object Properties


Example

The first example shows how to change the value of a text area in response to mouse events. The second demonstrates how to use the onmouseover event to apply a new style to an object.

Sample Code


See Also

onmousedown, onmousemove, onmouseout, onmouseup




Contents
HTML Elements
HTML Element Attributes
CSS Attributes
DOM Objects
DOM Object Properties
DOM Events Reference
DOM Methods Reference
DOM Collections Reference
 

Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph