August 1999
Intermediate to advanced
1488 pages
72h 53m
English
event.height
The height property of the Event object controls the height of a window or frame during the RESIZE event.
Listing 7.204 shows how the height property can be accessed when an event such as RESIZE occurs. The RESIZE event means that the corresponding window or frame has changed size, thereby changing the height property.
<html> <head> <title>Example of the event.height property</title> </head> <body> <script language = "JavaScript"> <!--Hide // sets up the window to capture RESIZE events window.captureEvents(Event.RESIZE); // function that changes the size of the window. function changeSize(){ window.resizeTo(300,400); ... |
Read now
Unlock full access