onMouseOver (Event handler)

Triggered when the mouse pointer enters the active area owned by the object.

Availability:

HTML version - 4.0
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.0
Netscape - 2.0
Opera browser - 3.0
Property/method value type:Boolean primitive
JavaScript syntax:-myObject.onmouseover = aHandler
HTML syntax:<A onMouseOver="..."> <AREA onMouseOver="..."> <HTMLTag onMouseOver="..."> <IMG onMouseOver="..."> <LAYER onMouseOver="...">
Argument list:aHandlerA reference to a function object to handle the event

As the mouse moves over the object, this event is triggered. Normally, passing over a link will display its value in the status bar. You can inhibit this behavior by returning the Boolean true value leaving the status line unchanged. Returning false allows the browser to overwrite the status line with the URL value of the link.

DOM level 2 classifies this as a MouseEvent and specifies that it uses bubbling propagation and can be cancelled.

Warnings:

See also:Element object, Event, Event handler, Event model, Event names, Event object, Event.returnValue, Handler, Mouse events, MouseEvent object, onMouseOut, Semantic event, Status line, Window.defaultStatus, Window.status

Supported by objects:

A

ACRONYM

ADDRESS

Anchor

APPLET

AREA

B

BIG

BLOCKQUOTE

BODY

BUTTON

CAPTION

CENTER

Checkbox

CITE

CODE

DD

DEL

DFN

DIR

DIV

DL

Document

DT

EM

FIELDSET

FileUpload

FONT

FORM

H1

HR

I

IMG

Input

INS

KBD

LABEL

Layer

LEGEND

LI

LISTING

MAP

MARQUEE

MENU

OL

P

Password

PLAINTEXT

PRE

Q

RadioButton

ResetButton

S

SAMP

Select

SMALL

SPAN

STRIKE

STRONG

SUB

SubmitButton

SUP

TABLE

TBODY

TD

TEXTAREA

TextCell

TFOOT

TH

THEAD

TR

TT

U

UL

Url

VAR