TIMELINE Attribute | timeline Property

MS Office DHTML, HTML & CSS

TIMELINE Attribute | timeline Property


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.

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>
This feature requires Internet Explorer 5 or later. Click the icon below to install the latest version. Then reload this page to view the sample.
Microsoft Internet Explorer

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.
time

See Also

html+timeInternet Link, PAR, SEQ

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.