Share via


ITIMEAnimationElement2::type Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Sets or gets the type of transition to be applied.

Sets or gets the type of transition to be applied.

Syntax

HRESULT ITIMEAnimationElement2::get_type(BSTR sType);
HRESULT ITIMEAnimationElement2::put_type(BSTR sType);

Parameters

  • sType
    BSTR that specifies the name of the transition type that will be applied to renderable content. See the following table for possible values.
  • sType
    BSTR that specifies the name of the transition type that will be applied to renderable content. See the following table for possible values.

Return Value

No return value.

Remarks

ITIMEAnimationElement2::type was introduced in Microsoft Internet Explorer 6.

This attribute is required and must be one of the transition families listed in the following table, or it must be an extended transition type provided by the user agent.

You can apply more than one transitionFilter to a given object. By doing this, you can apply more than one type of transition. This has the possible effect of multiple types of transitions occurring simultaneously to renderable content. See the following example.

If no subtype is specified, the default subtype associated with the transition type is used. The type starWipe is an exception; you must explicitly include the subtype of "fivePoint" for this transition to work.

Type Associated Subtypes
starWipe fivePoint (this must be specified)
barWipe leftToRight, topToBottom
barnDoorWipe vertical, horizontal
irisWipe rectangle, diamond
ellipseWipe circle
clockWipe clockwiseTwelve
fanWipe centerTop
snakeWipe topLeftHorizontal
spiralWipe topLeftClockwise
pushWipe fromLeft
slideWipe fromLeft
fade crossfade

Note  You can also use Cascading Style Sheets (CSS) transitions as values for TYPE. See Using HTML+TIME Transitions for more information.

See Also

Introduction to HTML+TIME, Using HTML+TIME Transitions