onbounce (HTML attribute)

Syntax

onbounce="changeMarqueeTextColor();"

Description

This somewhat bizarre attribute is used to identify the moment when text contained inside a marquee element which is set to move across the page bounces as it reaches the edge of the container and moves back across the page in the opposite direction.

Value

No fixed value - could be a call to one or more defined functions or a simple alert() statement.

Compatibility

Non-standard event defined by Microsoft for use in Internet Explorer. May work in some other browsers but cannot be reliably used. Compatibility for this non-standard attribute not tested.

User-contributed notes

There are no comments yet.

Related Products