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











PROPERTY:  Layer::visibility


layer.visibility = "value"

This property determines whether or not a layer is visible. The "value" parameter can be "show", "hide" or "inherit", the latter causing the layer to inherit the value of its parent object's visibility property.

The following example creates two layers, aboveLayer and belowLayer, and alters the visibility property of the aboveLayer layer on the occurance of a MouseOver event.

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

Mouse over me to reveal the layer below

</layer>

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

Hello from the layer below!

</layer>

 


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