<docbook><section><title>OATDOClayers</title><para> </para>
<title> layers.js</title> layers.js
<para>Generic z-index manager.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> Objects</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> OAT.Layers(baseOffset)</bridgehead>
<para>Creates <computeroutput>Layers</computeroutput> stack.
 All participating elements are assigned increasing sequence of z-indexes, started from <computeroutput>baseOffset</computeroutput>.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> Methods</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> OAT.Layers::addLayer(element, activationEvent)</bridgehead>
<para>Adds <computeroutput>element</computeroutput> to stack.
 When <computeroutput>activationEvent</computeroutput> (default: <computeroutput>mousedown</computeroutput>) fires, the element is raised.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> OAT.Layers::removeLayer(element)</bridgehead>
<para>Removes <computeroutput>element</computeroutput> from stack.</para>
<para><ulink url="CategoryDocumentation">CategoryDocumentation</ulink> <ulink url="CategoryOAT">CategoryOAT</ulink> <ulink url="CategoryOpenSource">CategoryOpenSource</ulink></para>
</section></docbook>