Jaa


onend Event (deprecated)

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.

Fires when the timeline stops on an element.

Syntax

Inline HTML <ELEMENT onend = "handler(event);" >
Event Property object.onend = handler;
attachEvent object.attachEvent( "onend", handler);
Named script <SCRIPT FOR = object EVENT = onend>

Event Information

Bubbles No
Cancels No
To invoke Set the element's end time. The value of the element's end time, which can depend on other elements, determines when the event actually fires.
Default action Calls the associated event handler.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query the event object for the following event properties.

Available Properties

srcElement Gets or sets the object that fired the event.
type Gets or sets the event name from the event object.

Refer to the specific event object for additional event properties.

Remarks

This event also fires for the element when the endElement method is invoked on it, or in response to other dependencies created by the t:END attribute. The timing of this event is not affected by the t:ENDHOLD attribute. If the t:ENDHOLD attribute is set to true for the element, this event fires when the parent element's timeline completes.

Applies To

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

See Also

onbegin, Introduction to HTML+TIME