Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











METHOD:  Layer::moveAbove


layer.moveAbove(layerName)

This method is used to move the layer above the one specified with the layerName argument. Performing this re-stacking does not alter the horizontal or vertical position of either layer. Note that after using this method, both layers share the same parent layer.

The following example creates two layers, aboveLayer and belowLayer, and calls the moveAbove method using the onMouseOver event handler of the belowLayer object.

Code:
<layer name=aboveLayer bgcolor="lightgreen" top=50 left=80 width=150 height=50>

aboveLayer

</layer>

<layer name=belowLayer above=aboveLayer bgcolor="lightblue" top=20 left=20 width=150 height=50 onMouseOver=moveAbove(aboveLayer)>

belowLayer

</layer>

 


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