Frame.onResize

JavaScript 1.2+, ECMAScript 1.0+ Nav4+ Syntax

onResize="command"

Description

The onResize frame event handler is used to specify when a frame has been resized.

Example

Listing 7.280 shows how you would use the onResize event handler to check for when a frame is being resized.

Listing 7.280 Syntax of the onResize Event Handler
<html>
<title> Example of onResize event handler of the Frame object</title>

<frameset rows="80, *">
<frame src=top.html name=top >
<frame src=bottom.html name=bottom onResize='alert("You are resizing the bottom
frame")'>
</frameset>

</html>
							
						

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.