asp.net.ph

Skip Navigation Links

onfinish Event


Fires at the end of each loop of a MARQUEE.

Syntax

Inline <MARQUEE onfinish = "handler" ... >
Script MARQUEE.onfinish = handler

Remarks

Bubbles No
Cancels Yes
To invoke Specify a value for the LOOP attribute of the MARQUEE object.
Default action Marquee ceases looping.

A value greater than one and less than infinity must be set on the LOOP attribute for this event to fire.

Event Object Properties

While event handlers in the Document Object Model do not receive parameters directly, the handler can query the event object for data.

Event Object Properties


Example

The sample uses the srcElement property of the event object to determine which marquee has fired the onfinish event.

Sample Code


Applies To

MARQUEE

See Also

loop, onbounce, onstart


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note