Name

background — NN 4 IE n/a DOM n/a

Synopsis

Read/Write

This property holds an image object whose src property can be set to change the image used for the layer’s background. In other words, you must set this property of the object.

Example

document.myIlayer.background.src = "images/newlogo.gif"

Value

An image object property, such as src.

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.