Jaa


TIMECONTAINER Attribute | timeContainer 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 timeline associated with an element.

Syntax

HTML <ELEMENT TIMECONTAINER = sType... >
Scripting [ sType = ] object.timeContainer

Possible Values

sType A String that specifies one of the following values.
excl
Exclusive timeline container element in a document. Only one HTML descendant of this element can play at a time.
none
Default. Current element does not define a local timeline and has no effect on its contained time descendants.
par
New timeline container element in a document. All HTML descendants of this element have independent, or parallel, timing.
seq
Sequence timeline container element in a document. When the timeline of an element in the sequence ends, the next element begins playing.

The property is read-only. The property has a default value of none.

Example

This example shows how to use the TIMECONTAINER attribute to create a time container.

<HTML>
<HEAD>
<STYLE>
.time           { behavior: url(#default#time2);}
</STYLE>
</HEAD>

<BODY>

<MARQUEE CLASS="time" TIMECONTAINER="seq" REPEATCOUNT="indefinite">
<IMG CLASS="time" DUR="4" SRC="smilingWoman.gif" ALT="Smiling Woman">
<img CLASS="time" DUR="4" SRC="smilingMan.gif" ALT="Smiling Man">
<img CLASS="time" DUR="4" SRC="child.gif" ALT="Smiling Man">
</MARQUEE>

</BODY>
</HTML>

Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/htmltime/timeContainer.htm

Applies To

t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:SEQ, t:SET, t:SWITCH, time2, t:VIDEO

See Also

Introduction to HTML+TIME, excl, par, seq