METHOD:  Layer::load

layer.load("fileName", width)

This method is used to change the contents of a layer by loading a file containing HTML code into the layer. The width parameter alters the width in pixels at which the contents of the layer are wrapped.

The following example creates a layer and then changes its contents by loading an HTML file when the user moves the mouse over the layer.

<layer name=aboveLayer bgcolor="lightgreen" top=50 left=80 width=150 height=50 onMouseOver='load("myFile.html", 300)>



Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information