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.)
庆城县| 蚌埠市| 潮州市| 犍为县| 澎湖县| 靖边县| 富锦市| 东台市| 万全县| 台南县| 故城县| 兰州市| 个旧市| 九龙县| 宜黄县| 铅山县| 唐海县| 龙门县| 高碑店市| 葫芦岛市| 潞西市| 高青县| 桑日县| 灵璧县| 营山县| 大城县| 大足县| 渑池县| 桃园县| 景德镇市| 玛多县| 盐城市| 中山市| 武乡县| 广灵县| 夏津县| 萝北县| 垦利县| 郓城县| 紫金县| 荔浦县|