Fires when the timeline on an element pauses.
Syntax
Inline HTML <ELEMENT onpause = "handler" ... > All platforms Event property object.onpause = handler JScript (compatible with ECMA 262 language specification) only Named script <SCRIPT FOR = object EVENT = onpause> Internet Explorer only
Remarks
Bubbles No Cancels No To invoke Call the pause method. Default action Calls the associated event handler. The onpause event fires on every element that is active when the timeline pauses, including the BODY element.
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 onpause 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
onresume