August 1999
Intermediate to advanced
1488 pages
72h 53m
English
Event.MOVE
The MOVE property of the Event object is used by windows and frames to indicate when movement by the window or frame occurs.
Listing 7.234 shows the syntax for accessing the MOVE property. When you begin to move the browser window, the MOVE event will be captured, and the coordinates for the upper-left of the window will be displayed.
<html> <head> <title>Using Event.MOVE</title> </head> <body> <script language = "JavaScript"> <!--Hide // sets up the window to capture MOVE events window.captureEvents(Event.MOVE); // function that handles the specific event. The evnt parameter refers to // the event object. The function sets ... |
Read now
Unlock full access