Intro

The Event Object is the object in Netscape that has information about the event that just occurred. Its syntax is:

event.property
The event object is the object in Microsoft roughly equivalent to the Netscape event object. VBScript must use window.event to distinguish it from the VBScript event keyword. Its syntax is:
window.event.property

Conceptually the two event object do roughly the same things. The type, screenX, and screenY properties are exactly the same in each browser. Two of other properties, x and y, are homonyms. All the other properties are named differently.

Some of the properties only apply to certain events

Event Properties in Alphabetical Order
NN4 IE4 NS6
data
height
layerX
layerY
modifiers
pageX
pageY
screenX
screenY
target
type
which
width
x
y
altKey
button
cancelBubble
clientX
clientY
ctrlKey
fromElement
keyCode
offsetX
offsetY
reason
returnValue
screenX
screenY
shiftKey
srcElement
srcFilter
toElement
type
x
y
 

Position Properties

All position properties return integer values for pixels.

Mouse over and out.

Input Properties

Modifier key

Key or mouse button

Miscellany

Event

Default action

Event capturing

Event generating element

Data

Dynamic filter

Page Modified: (Hand noted: 2005-02-17 20:50:17Z) (Auto noted: 2007-11-17 06:42:14Z)