Fires when the timeline starts on an element.
Syntax
Inline HTML <ELEMENT onbegin = "handler" ... > All platforms Event property object.onbegin = handler JScript (compatible with ECMA 262 language specification) only Named script <SCRIPT FOR = object EVENT = onbegin > Internet Explorer only
Remarks
Bubbles No Cancels No To invoke Set the element's begin time. The value of the element's begin time, which can depend on other elements, determines when the event actually fires. Default action Calls the associated event handler. This event also fires for the element when the beginElement method is invoked on it, or in response to other dependencies created by the BEGINWITH or BEGINEVENT attribute. This event does not fire when the timeline on the element is set to repeat. However, it fires if the parent element's timeline is set to repeat.
Event Object Properties
Although event handlers in the Dynamic HTML (DHTML) Object Model do not directly receive parameters, the handler can query the event object for data. For a list of properties of the event object relevant to an onbegin event handler, click the following link.
srcElement Retrieves the object that fired the event. type Retrieves the event name from the event object.
Applies To
animation, audio, img, media, par, seq, time, video
See Also
onend