August 1999
Intermediate to advanced
1488 pages
72h 53m
English
image.complete
The complete property of the Image object is a Boolean value that specifies if an image has finished loading. After an image has completely loaded, the property is changed to false. If the load is aborted or an error occurs during the loading process, the property will be set to true.
Listing 7.303 displays a message based on the value of the complete property.
<html> <head> <title>Example of complete Property</title> </head> <img name="circle" src="circle.gif"> <br> <script language="JavaScript"> <!-- Hide //Display message about loading progress of image if(document.circle.complete ... |
Read now
Unlock full access