HBCMS更多的中文手册参考:

t:BEGINAFTER Attribute | beginAfter Property?deprecated)

DHTML中文手册

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 retrieves a value indicating that the timeline of an element starts when the referenced element ends.

dhtml语法

xml<ELEMENT t:BEGINAFTER = sID... >
Scriptingobject.beginAfter [ = sID ]

DHTML可能的值

sIDStringthat specifies the unique identifier of another timed element within the current time scope. The timeline begins on the current element when the referenced element ends. For more information about time scope, see the Remarks section.

The property is read/write. The property has no default value.

Remarks

This property is deprecated. For similar functionality, refer to the begin property available with the time2 behavior.

this property supports relative sequential timing. you can offset the start time by specifying a nonzero value for the t:begin attribute on the element. this indicates that the timeline should start at a specified amount of time after the timeline on the referenced element ends. if the referenced element has an indefinite duration, the timeline on the current element does not start. this property cannot be used on the same element as the t:beginevent or t:beginwith attribute.

the current time scope is defined by the closest parent time container created with the t:timeline attribute or the t:par or t:seq element. all timed elements within the same parent time container (time siblings) share the current time scope. if no time containers are explicitly declared, the document root is defined as the parent time container. in this case, all timed elements in the document would share the current time scope. to create timing dependencies between elements in different time scopes, use the t:beginevent attribute instead of the t:beginafter attribute.

the prefix t is used to associate this attribute with an xml namespace.

DHTML代码范例

This example uses the t:BEGINAFTER and t:BEGIN attributes to make a paragraph appear one second after the first paragraph disappears. -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<STYLE>
.time        	{ behavior: url(#default#time);}
</STYLE>
</HEAD>
<BODY BGCOLOR="white">
<SPAN ID="span1" CLASS=time STYLE="COLOR:Red;" t:BEGIN="2" t:DUR="5"
t:TIMEACTION="display">
<H3>Paragraph 1</H3>
<P>This is paragraph number one. It appears 2 seconds after the
page is loaded and remains displayed for 5 seconds.</P>
</SPAN>
<SPAN CLASS=time STYLE="COLOR:Blue;" t:BEGIN="1" t:BEGINAFTER="span1"
t:TIMEACTION="display">
<H3>Paragraph 2</H3>
<P>This is paragraph number two. It appears one second after the
first paragraph disappears, and remains displayed indefinitely.</P>
</SPAN>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

是否符合公共标准

This property is defined in HTML+TIME (Timed Interactive Multimedia Extensions) 1.0 Non-Microsoft link.

Applies To

t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO

更多语法参考

introduction to html+time, t:begin, t:beginevent, t:BEGINWITH