Name

BEHAVIOR — NN n/a IE 3 HTML n/a

Synopsis

BEHAVIOR=”motionType"

Optional

Sets the motion of the content within the rectangular space set aside for the MARQUEE element. You have a choice of three motion types.

Example

<MARQUEE BEHAVIOR="slide" DIRECTION="left" WIDTH=250 BGCOLOR="white">
...
</MARQUEE>

Value

One of the case-insensitive MARQUEE element motion types:

alternate

Content alternates between marching left and right.

scroll

Content scrolls (according to the DIRECTION attribute) into view and out of view before starting again.

slide

Content scrolls (according to the DIRECTION attribute) into view, stops at the end of its run, blanks, and then starts again.

Default

scroll

Object Model Reference

IE

[window.]document.all.elementID.behavior

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.