Frame.onMove

JavaScript 1.2+, ECMAScript 1.0+, JScript 1.0+ Nav4+, IE 3+ Syntax

onMove="command"

Description

The onMove frame event handler is used to specify when a move event occurs within a frame.

Example

Listing 7.279 shows the onMove event handler being used to inform the user when the frame is being moved.

Listing 7.279 Example of the onMove Event Handler
<html>
<title> Example of onMove event handler of the Frame object</title>

<frameset rows="80, *" onMove='alert("You are now moving the frame")'>
<frame src=top.html name=top >
<frame src=bottom.html name=bottom>
</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.