TOC PREV NEXT INDEX

domref



onresize


The onResize property returns the onResize event handler code on the current element.

Syntax

event handling code = element.onresize
 

Example

// <img src="pawn.gif" onResize="growBoard();" />
 
function pawnClick()  {
 
   i = document.getElementById("img1");
 
   alert(i.onresize);
 
}
 
// alerts: function anonymous(event) { growBoard() }
 

Notes

The resize event is raised when the user resizes a resizable element (such as a window).

Specification

DOM Level 0. Not part of specification.


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX