This is an alternative way to load a new document into a layer. You can accomplish something similar by assigning a new value to the src property. This method will adjust the width of the layer at the same time.
This can work very effectively if you generate dynamic content via a javascript: URL as the value passed to the load() method.
In fact this works so much better, that the Layer.src property can be ignored for most purposes. This seems to work well with an absolutely positioned <DIV> container.
See also: | javascript: URL, Layer.src |
Prev | Home | Next |
Layer.left | Up | Layer.moveAbove() |
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. |