Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

2.3.1.7 behavior

Quirks Mode, IE7 Mode, IE8 Mode, and IE9 Mode (All Versions)

behavior of type DOMString

Sets or retrieves how the text scrolls in the marquee.

Possible values are:

  • scroll – Default. Marquee scrolls in the direction specified by the direction property. The test scrolls off the end and starts over each time.

  • alternate – Marquee scroll direction reverses when its content reaches the edge of the container.

  • slide – Marquee scrolls in the direction specified by the direction property. Text scrolls to the end and stops.

This attribute extends the HTMLMarqueeElement interface.

behavior is not supported in IE11 Mode and Edge (beta) Mode.

Show:
© 2015 Microsoft