JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Image.onabort() Handler

Name

Image.onabort() Handler---invoked when user aborts image loading

Availability

Navigator 3.0

Synopsis

<IMG SRC="url"
     onAbort="handler"    a definition of the handler
     ...>
image.onabort a reference to the handler
image.onabort();  an explicit invocation of the handler

Description

onabort() is an event handler invoked when the user aborts the loading of an image (for example, by clicking the Stop button). This event handler is defined by the onAbort attribute of an <IMG> tag. The value of this attribute may be any number of JavaScript statements, separated by semicolons; these statements will be executed only when the user aborts loading for the specified image.

See Also

"Image", "Image.onerror()", "Image.onload()"


Previous Home Next
Image.name Book Index Image.onerror()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
Hosted by uCoz