您的位置:寻梦网首页编程乐园DHTML网页制作完全手册

ID Attribute

Internet Development Index

Defines a unique identifier for the frame. Read/write String.

Applies To

VMLFrame

Tag Syntax

<v:element ID="expression">

Script Syntax

element.ID="expression"

expression=element.ID

Remarks

Use ID to reference a frame. For example, you can move the frame around on the page by changing the frame position referenced by the ID.

VML Standard Attribute

Example

The ID of the frame is "frame01".

   <v:vmlframe id="frame01" clip="True"
   origin="100pt,100pt" size="50pt,50pt"
   src="external.vml#shape01"
   style='position:relative;
   top:160pt; left:100pt; width:50pt; height:50pt'
   </v:vmlframe>