t:TIMELINE Attribute | timeline Property?deprecated) | DHTML中文手册 |
sets or retrieves the type of timeline associated with an html element.
dhtml语法
xml <ELEMENT t:TIMELINE = sType... > Scripting time.timeline [ = sType ]
DHTML可能的值
sType Stringthat 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 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. 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.
DHTML代码范例
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 <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 property is a Microsoft extension to HTML+TIME (Timed Interactive Multimedia Extensions) .
Applies To
time
更多语法参考
introduction to html+time, par, seq