[Contents] [Previous] [Next] [Index]

onDblClick

Executes JavaScript code when a DblClick event occurs; that is, when the user double-clicks a form element or a link.

Event handler for

document, Link

Implemented in

Navigator 4.0

Syntax

onDblClick="handlerText"

Parameters

handlerText
JavaScript code or a call to a JavaScript function.

Note

DblClick is not implemented on the Macintosh.

Event properties used

type
Indicates the type of event.

target
Indicates the object to which the event was originally sent.

layerX, layerY,
pageX, pageY,
screenX, screenY
Represent the cursor location at the time the event occurred.

which
Represents 1 for a left-mouse double-click and 3 for a right-mouse double-click.

modifiers
Contains the list of modifier keys held down when the event occurred.

See also

For general information on event handlers, see "General Information about Events".

For information about the event object, see event.


[Contents] [Previous] [Next] [Index]

Last Updated: 10/31/97 16:34:02


Copyright ?1997 Netscape Communications Corporation