Note: This event applies to the <marquee> element. When <marquee> behavior attribute value is set to alternate. It fires when the content of the marquee reaches either its right or its left edge.