Skip to main content
onpause 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 on an element pauses.

Syntax

Inline HTML <ELEMENT onpause = "handler(event);" >
Event Propertyobject.onpause = handler;
attachEventobject. attachEvent( "onpause", handler);Internet Explorer only
Named script <SCRIPT FOR = object EVENT = onpause> Internet Explorer only

Event Information

BubblesNo
CancelsNo
To invoke Call the pause method.
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

The onpause event fires on every element that is active when the timeline pauses, including the body element.

Applies To

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

See Also

Microsoft is conducting an online survey to understand your opinion of the MSDN Web site. If you choose to participate, the online survey will be presented to you when you leave the MSDN Web site.

Would you like to participate?