August 1999
Intermediate to advanced
1488 pages
72h 53m
English
onResize="command"
The onResize event handler of a property of a Window object is fired when the window it is referenced in is resized. The user physically resizing the window or a script resizing it can fire this event.
Listing 7.561 pops up an alert box if the user tries to resize the window.
<body onResize='alert("Do NOT resize this window!")'>
|
Read now
Unlock full access