onrepeat 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 repeats on an element, beginning with the second iteration.
Inline HTML <ELEMENT onrepeat = "handler(event);" > Event Property object.onrepeat = handler; attachEvent object.attachEvent( "onrepeat", handler); Internet Explorer only Named script <
SCRIPT FOR= object
Internet Explorer only
Bubbles No Cancels No To invoke Set the repeat property to a value greater than 1. 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.
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.
The event fires once for each repetition of the timeline, excluding the first full cycle. Therefore, the onrepeat event fires repeat–1 times unless it is stopped by other dependencies before completion. This event fires only if the repeat or repeatDur property is set directly on the element. This event does not fire on child elements that have the repeat or repeatDur property set only on their parent elements.