ID Attribute

HTML (DHTML)

ID Attribute

Internet Development Index

Specifies a name that provides a unique identifier for a shadow. Read/write String.

Applies To

Shadow

Tag Syntax

<v:element id="expression">

Script Syntax

element.id="expression"

expression=element.id

Remarks

Use ID to refer to a specific shadow. Once you have created a shadow and given it an ID, you can use the ID name when you want to manipulate the shadow.

VML Standard Attribute

Example

The shape has a shadow ID called "myshadow".

   <v:shape id="rect01"
   coordorigin="0 0" coordsize="200 200"
   strokecolor="red" fillcolor="red"
   style="top:20;left:20;width:30;height:30"
   path="m 1,1 l 1,200, 200,200, 200,1 x e">
   <v:shadow id="myshadow" on="True"/>
   </v:shape>