August 1999
Intermediate to advanced
1488 pages
72h 53m
English
Event.DRAPDROP
The DRAGDROP property of the Event object is used by the window to indicate the event that an object has been dragged and dropped.
Listing 7.222 shows the how the DRAGDROP event is used to check for any object that has been dragged and dropped into the browser window. If this occurs, an alert box is shown indicating that the DRAGDROP event has occurred.
<html> <head> <title>Example of Event.DRAGDROP</title> </head> <body> <script language = "JavaScript"> <!--Hide // sets up the window to capture DRAGDROP events window.captureEvents(Event.DRAGDROP); // function that handles the specific event. The evnt parameter ... |
Read now
Unlock full access