Name

event — NN 4 IE 4 DOM n/a

Synopsis

While the event object contains information about a user- or system-generated event in Navigator and Internet Explorer, the event mechanisms for the two browser families are very different, as described in Chapter 6. With only a few exceptions, the event object properties for the two browsers are mutually exclusive. Observe the browser compatibility listings for each of the following properties carefully.

Object Model Reference

NN

eventObj

IE

window.event

Properties

altKey

data

offsetX

screenX

toElement

button

fromElement

offsetY

screenY

type

cancelBubble

keyCode

pageX

shiftKey

which

clientX

layerX

pageY

srcElement

x

clientY

layerY

reason

srcFilter

y

ctrlKey

modifiers

returnValue

target

 

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.