Javascript Reference
Categories: layer

javascript layer background

@March 15, 2008, 1:22 a.m.
backgroundNN |4| IE n/a Chrome/Safari/DOM n/a  

Read/Write  

This property holds an image object that has a src property that can be set to change the image used for the layer's background. In other words, you must set the src property of the layer's background object to change the image.

 
Example
 
document.myIlayer.background.src = "images/newlogo.gif";
 
Value

An image object property, such as src.

 
Default

None.


Powered by Linode.