If a background image is available, then its URL is contained in the src property of the object. Changing the Layer.background.src property value will replace the background with a new one. However, there may be a perceptible delay while the new image is fetched from the web server.
See also: | Background object |
Prev | Home | Next |
Layer.above | Up | Layer.below |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |