anim:DA Element | anim Behavior
Defines an instance of the Microsoft® DirectAnimation® viewer in an HTML document to render DirectAnimation objects and play DirectAnimation sounds.
Syntax
XML <anim:DA ID="sID" STYLE="height:sHeight; width:sWidth;" /> HTML N/A Scripting N/A
Possible Values
sID String that specifies a unique identifier for the object. sHeight String that specifies the height of the DirectAnimation viewer. sWidth String that specifies the width of the DirectAnimation viewer.
Members
Remarks
The prefix anim is used to associate this attribute with an XML namespace. You must include this prefix when using the anim:DA element. To define this namespace prefix, include the following line of code in the HEAD section of your HTML document.
<XML:NAMESPACE PREFIX="anim"/>You also must define the custom DA element and associate it with the default anim behavior. You can do this by adding the following line of code to the STYLE block of your document.
<STYLE> anim\:DA { behavior: url(#default#anim); } </STYLE>You also must use the height and width properties, as shown in the following line of code, to make the DirectAnimation viewer display properly.
<anim:DA STYLE="width:400; height:200;" />Other inline style properties can be used to control the DirectAnimation viewer's position and z-index.
The anim:DA element is available as of Microsoft® Internet Explorer 5, only in the Microsoft® Win32® platform.
See Also
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.