Background.src (Property)

The source location of an image to be associated with a layer and used as its background image.


JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyBackground.src

This corresponds to the src property of a Netscape Navigator Image object. It defines the URL of an image to load into the background of a layer, as these are scriptable in Netscape Navigator whereas the background image of a document object is not.

See also:Background object, BODY.background, BODY.bgProperties, JSSTag.backgroundImage, style.background