Image.onload() HandlerNameImage.onload() Handler---invoked when image finishes loadingAvailabilityNavigator 3.0 Synopsis
<IMG SRC="url" onLoad="handler" a definition of the handler ...> image.onload a reference to the handler image.onload(); an explicit invocation of the handler Descriptiononload() is an event handler invoked when the browser successfully finishes loading the image specified by an <IMG> tag. This event handler is defined by the onLoad 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 when the image is completely loaded. |
|