WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

Image

Declares an image resource used by the binding. The image is loaded as soon as the binding is used. You can use this to preload a number of images for later use.

Attributes:

id src

Attributes:

id

Type: element id, must be unique in the window

A unique identifier so that you can identify the image with. You can use this as a parameter to getElementById and other DOM functions and to reference the element in style sheets.

src

The URL of the image to load.

Copyright © 1999-2006 XULPlanet.com