All Event Handlers
EVENT HANDLER: onResize
onResize
= myJavaScriptCode
Event handler for
Window
The
onResize
even handler is use to execute specified code whenever a user or script resizes a window or frame. This allows you to query the size and position of window elements, dynamically reset SRC properties etc. It uses the following properties of the
Event
object:
type
- indicates the type of event.
target
- indicates the target object to which the event was sent.
width, height
- indicates the width or height of the window or frame
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information