Freigeben über


t:TIMELINE Attribute | timeline Property (deprecated)

This page documents a feature of HTML+TIME 1.0, which was released in Microsoft® Internet Explorer 5. We recommend that you migrate your content to the latest version of HTML+TIME, which implements the SMIL 2.0 Working Draft. See the Introduction to HTML+TIME overview for more information.

Sets or gets the type of timeline associated with an HTML element.

Syntax

XML <ELEMENT t:TIMELINE = sType... >
Scripting [ sType = ] time.timeline

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/write. The property has a default value of none.

Example

This example uses the t:TIMELINE attribute to create a parallel time container.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<STYLE>
  .time  { behavior: url(#default#time);}
</STYLE>
</HEAD>
<BODY BGCOLOR="white">
<SPAN ID="parent" CLASS="time" t:TIMELINE="par" t:BEGIN="0"
    t:DUR="10">
    <P>This paragraph inherits the "parallel" timeline set on its
    parent &lt;SPAN&gt; element. It will be displayed for ten 
    seconds. <BR><BR>
    </P>
    <P CLASS="time" t:BEGIN="5">This paragraph also inherits the
    "parallel" timeline set on its parent &lt;SPAN&gt; element, but it
    can have independent timing attributes as well.<BR><BR>
    </P>
</SPAN>
<P>This paragraph is not a child of the <SPAN> element 
containing a timeline.</P>
</BODY>
</HTML>

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

Applies To

time

See Also

Introduction to HTML+TIME, par, seq