'layer' and 'ilayer' Tag Properties : Layer « HTML « JavaScript DHTML






'layer' and 'ilayer' Tag Properties

Property           Description
above             A Layer object higher in z-order of all layers in the document (null if the layer is topmost).

background        The URL of an image to use as the background for the layer.

below             A Layer object lower in z-order of all layers in the document (null if the layer is lowest).

bgcolor           The background color for the layer.

clip              Defines the clipping rectangle. Anything outside of this rectangle is clipped from view.

height            The height in pixels of the layer.

left              The x-axis position in pixels of the layer, relative to the origin of its parent layer.

name              The name of the layer.

src               The URL for the layer's content source.

top               The y-axis position in pixels of the layer, relative to the origin of its parent layer.

visibility        Defines the layer's visibility attributes. 

width             The width in pixels of the layer.

z-index           The relative z-order of the layer, relative to its siblings and parent.
           
       








Related examples in the same category

1.Layer 'srcFilter' Example
2.Monitors divisions (or layers) on dynamic Web pages (DHTML)
3.Hide and show layer
4. Layer Background Colors (W3C)
5.Setting Layer Backgrounds (W3C)
6.The layer while rolling over the link.
7.Accessing Layers with JavaScript
8.Detecting Navigator and Internet Explorer
9. Adjusting Layer clip Properties (W3C)
10.Comparison of Layer and Clip Location Properties (W3C)
11. Testing Nested Layer Coordinate Systems (W3C)
12.Nested Layer Visibility Relationships (W3C)
13.Relationships Among zIndex Values (W3C)
14.Dragging a Layer (W3C)
15.Resizing a Layer (W3C)
16.Methods and Properties of the Layer Object
17.Layer seek