August 1999
Intermediate to advanced
1488 pages
72h 53m
English
Event.RESIZE
The RESIZE property of the Event object is used by windows and frames to indicate the event of resizing the window or frame.
Listing 7.236 shows how to determine when the window has been resized using the RESIZE event. When the RESIZE event is captured, the handle() function outputs the height and width properties of the window.
<html> <head> <title>Example of Event.RESIZE</title> </head> <body> <script language="JavaScript"> <!--Hide // sets up the window to capture RESIZE events window.captureEvents(Event.RESIZE); // function that handles the specific event. The evnt parameter refers to // the event ... |
Read now
Unlock full access