spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / dhtml / column3

Netscape Navigator 4 Event object properties

PropertyTypeDescription
.typeStringThe type of event.
.targetStringThe object that event refers to.
.layerXIntegerThe width of the object when the resize event was passed to it or the horizontal position of the cursor relative to the layer in which event occured. Same as x.
.layerYIntegerThe height of the object when the resize event was passed to it or the vertical position of the cursor relative to the layer in which event occured. Same as y.
.pageXIntegerThe horizontal position of the cursor relative to the page.
.pageYIntegerThe vertical position of the cursor relative to the page.
.screenXIntegerThe horizontal position of the cursor relative to the screen.
.screenYIntegerThe vertical position of the cursor relative to the screen.
.whichIntegerThe mouse button the user pressed or the ASCII value of the key pressed.
.modifiersStringThe keys that were being held down during the mouse or key press. Possible values are ALT_MASK, CONTROL_MASK, SHIFT_MASK and META_MASK.
.dataArray of StringsThe URLs of objects dropped using the dragdrop event.

Internet Explorer 4 event object properties

PropertyTypeDescription
keyCodeIntegerThe ASCII value of the key pressed.
fromElementStringThe focused element before an onmouseover or onmouseout event.
toElementStringThe focused element after an onmouseover or onmouseout event.
buttonIntegerThe mouse button pressed that caused event.
cancelBubbleBooleanIf true, stops event from bubbling up the document hierarchy.
srcElementStringThe deepest element that event occured on.
xIntegerThe horizontal co-ordinate of the mouse pointer relative to the window. Returns false (-1) if the pointer is outside the window.
yIntegerThe vertical co-ordinate of the mouse pointer relative to the window. Returns false (-1) if the pointer is outside the window.
shiftKeyBooleanReturns true if the Shift key was pressed during event.
ctrlKeyBooleanReturns true if the Control key was pressed during event.
altKeyBooleanReturns true if the Alt key was pressed during event.
returnValueBooleanUsed to specify a return value for event.

Produced by Peter Belesis and

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

All Rights Reserved. Legal Notices.
Created: 08/27/97
Revised: 09/28/97

URL: http://www.webreference.com/dhtml/column3/evTable.html