Event handler for Image
The onAbort event handler executes the specified JavaScript code
or function on the occurance of an abort event. This is when a user cancels
the loading of an image by either clicking stop in the browser or clicking
another link before the image has loaded.
The onAbort event handler uses the following Event
object properties.
type - this property indicates the type of event.
target - this property indicates the object to which the event
was originally sent.
<IMG NAME = "myPic" SRC = "images/myPic.gif" onAbort
= "alert('Loading of image aborted!')">
This example shows the use of the onAbort event handler to alert the user that the 'myPic' image was not loaded.