Name
images — NN 3 IE 4 DOM n/a
Synopsis
An array of all IMG
objects contained by the document. This object is implemented only in
browser versions that treat images as objects. Therefore, you can use
the existence of this array object as a conditional switch
surrounding statements that swap or preload images:
if (document.images) {
image object statements here
}Internet Explorer 3 for the Macintosh provided support for images as objects.
Object Model Reference
- NN
document.images[i]- IE
document.images[i]document.images(i)
Properties
|
|
Methods
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access