anim:DA Element | anim Behavior

MS Office DHTML, HTML & CSS

anim:DA Element | anim Behavior


This document describes technologies available as an experimental implementation of HTML+TIME within Internet Explorer 5. While we encourage you to evaluate these features and to send us your feedbackInternet Link, please note that these features are subject to change.

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;" />
HTMLN/A
ScriptingN/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

html+timeInternet Link, multimedia extensions to html+timeInternet Link


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.