HBCMS更多的中文手册参考:

t:BEGINEVENT Attribute | beginEvent 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 that starts the timeline of an element when the referenced event occurs.

dhtml语法

xml<ELEMENT t:BEGINEVENT = sEventName... >
Scriptingobject.beginEvent [ = sEventName ]

DHTML可能的值

sEventNameString that specifies or receives one of the following values:
eventStringthat specifies a timing event or an event supported by the dynamic html(动态html,即dhtml) object model.
noneDefault. Value that specifies the element's timeline is not started when a particular event occurs.

The property is read/write. The property has a default value of none.

Remarks

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

this property supports interactive timing, where element timelines can begin in response to events from users, media players, or the presentation. 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 a specified amount of time after the referenced event occurs. if the referenced event doesn't occur, the timeline on the current element does not start. this property cannot be used on the same element as the t:beginafter or t:beginwith attribute.

to start the timeline on the current element, you can specify more than one event setting the t:beginevent attribute to a string containing a list of semicolon-separated events. for example, you would use the following code to cause the timeline to begin on the heading when either button is pressed:

<button id="btn1">Button #1</BUTTON>
<BUTTON ID="btn2">Button #2</BUTTON>
.
.
.
<H1 CLASS="time" t:BEGINEVENT="btn1.onclick;btn2.onclick" t:DUR="5">
My Heading
</H1>

The t: prefix is used to associate this attribute with an XML namespace.

是否符合公共标准

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

更多语法参考

t:begin, t:beginafter, t:beginwith, Introduction to HTML+TIME