developer sign in
where » create » reference » layer

<layer>


The layer element defines a window which overlays the main screen. While there can be multiple layers visible at one time, the layer with the highest zindex will overlay all layers with a lower zindex. When multiple layers have the same zindex, the layer element with the higher node order in the Document’s tree will display above others with the same zindex. Key strokes are handled by the top-most visible layer.

Example

<layer id="aLayer" zindex="1" visible="false">
  <pr>
    <input type="button" value="Close" />
  </pr>
</layer>

Valid Elements

tag Valid Occurrences
<pr>1 - *

Element Specific Attributes

Attribute  Purpose Values Default JIN
height
The height of the layer. 0 to screen height combined row height 2.0
visible Layer's visibility. true, false false 2.0
width The width of the layer. 0 to screen width combined column width 2.0
x x coordinate of the top left corner of the layer. 0 to screen width (screen width - layer width) / 2 2.0
y y coordinate of the top left corner of the layer. 0 to screen height (screen height - layer height) / 2 2.0
zindex The position of the layer on the layer stack. 0 to 100 0 2.0

Valid Attributes

bg, bgfocus, bgfocusimg, bgimg, border, bordercolor, borderfocus, fg, fgfocus, fontsize, fontstyle, id, style

Tips and Tricks

terms of use | privacy policy | about | FAQ | blog | jobs | contact us
For 24/7 support email support@where.com or call 888-262-1150
WHERE™ is a product from uLocate Communications, Inc. ©2007 All Rights Reserved.