A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/Event/finish below:

finish ยท WebPlatform Docs

finish Overview Table Synchronous No Bubbles No Target dom/Element Cancelable No Default action ?

## Examples

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

<body>
<label>mqLooper1</label>
<marquee id="mqLooper1" loop="2"
    onfinish="alert(event.srcElement.id + ' finished looping.')">
this marquee loops twice </marquee>
<hr>
<label>mqLooper2</label>
<marquee id="mqLooper2" loop="5"
onfinish="alert(event.srcElement.id + ' finished looping.')">
this marquee loops five times </marquee>
</body>

View live example

Notes Remarks

A value greater than 1 and less than infinity must be set on the LOOP attribute for this event to fire. Marquee ceases to loop. To invoke this event, do one of the following:

The pEvtObj parameter is required for the following interfaces:

Syntax Standards information

There are no standards that apply here.

Event handler parameters
pEvtObj [in]
Type: ****IHTMLEventObj****
Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4