Sets or retrieves the type of timeline associated with an HTML element.
Syntax
HTML <ELEMENT STYLE="behavior:url(#default#time);" t:TIMELINE = sType... > Scripting object.timeline [ = sType ]
Possible Values
sType String that specifies one of the following values:
none Current element does not define a local timeline and has no affect 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. All HTML descendants of this element are timed as though they have a BEGINAFTER attribute set to the previous element. The property is read/write with a default value of none. This property cannot be modified in script after the onload event fires on the document body.
Remarks
The prefix t is used to associate this attribute with an XML namespace.
Example
This example uses the TIMELINE attribute to create a parallel time container.
Sample Code
<!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 <SPAN> 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 <SPAN> 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>
Applies To
time
See Also
HTML+TIME, PAR, SEQ