onstart event | start event
Occurs when a marquee element begins the scrolling animation and when a new loop starts.
When a new loop starts and the behavior property of the marquee element is set to 'alternate', an onbounce event is fired instead of an onstart event. If behavior property of the marquee element is set to 'scroll' or 'slide', an onstart event is fired each time when a new loop starts.
How to register:
|object.onstart = handler;|
|object.addEventListener ("start", handler, useCapture);|
|object.attachEvent ("onstart", handler);|
You can find the related objects in the Supported by objects section below.
The event object is accessible to all event handlers in all browsers. The properties of the event object contain additional information about the current event. To get further details about these properties and the possible event handler registration methods, please see the page for the event object.
Actions that invoke the onstart event:
Example HTML code 1:
This example illustrates the use of the onstart event:
Did you find this example helpful?
User Contributed Comments