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

Not part of specification.


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