TOC PREV NEXT INDEX

Put your logo here!


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.


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX