onresize (HTML attribute)

Syntax

onresize="reloadPage();"

Description

This attribute identifies when an object is resized, but is used most often in the context of window resizing (after all, very few HTML elements are resizable by the user).

Value

No fixed value - could be a call to one or more defined functions or a simple alert() statement.

Compatibility

Non-standard event defined by Microsoft for use in Internet Explorer. May work in some other browsers but cannot be reliably used. Compatibility for this non-standard attribute not tested.

User-contributed notes

There are no comments yet.

Add a note

To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

Related Products