Visibility Attribute | Internet Development Index |
Determines whether a shape is displayed. Read/write String.
Applies To
Tag Syntax
<v:element style="visibility:expression">
Script Syntax
element.style.visibility="expression"
expression=element.style.visibility
Remarks
The Visibility attribute is similar to the standard HTML Visibility attribute for styles.
Values include:
| Value | Description |
| visible | The shape is visible. |
| hidden | The shape is not visible, but is still part of the flow of the objects in the browser. Mouse events are not processed. |
| inherit | Default. The visibility state is inherited from the parent of the shape. Microsoft Office applications only use inherit and hidden; any other values are mapped to inherit. |
| collapse | Used for graphical editing applications that can collapse groups of shapes; for example, outliners. |
VML Standard Attribute
Example
The following code creates a shape but makes it hidden. Other objects in the document will flow around it, leaving a space the same size as the shape.
<v:rect id=myrect fillcolor="red" style="position:relative;top:1;left:1;width:20;height:20;visibility:hidden"> </v:rect>
Visibility Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)
克什克腾旗| 水富县| 嘉兴市| 津南区| 庄浪县| 繁峙县| 油尖旺区| 建水县| 榕江县| 安远县| 北票市| 新营市| 海原县| 南郑县| 富蕴县| 呼图壁县| 镇安县| 奉贤区| 桃源县| 无为县| 霍城县| 宝兴县| 清涧县| 佛教| 潼南县| 西贡区| 依安县| 贵阳市| 敖汉旗| 东辽县| 长沙市| 三门县| 阳江市| 阳泉市| 耿马| 沁水县| 含山县| 句容市| 无为县| 通辽市| 台南市|