August 1999
Intermediate to advanced
1488 pages
72h 53m
English
Event. DBLCLICK
The DBLCLICK property of the Event object is used by documents and links to indicate a double mouse click.
Listing 7.221 shows an example of the onDblClick event handler being used to handle the DBLCLICK event. When the user double-clicks the button or anywhere in the window, an alert box appears informing the user that he or she double-clicked.
<html> <head> <title>Example of Event.DBLCLICK</title> </head> <body> <script language = "JavaScript"> <!--Hide // sets up the window to capture DBLCLICK events window.captureEvents(Event.DBLCLICK); // function that handles the specific event. The ... |
Read now
Unlock full access