Name
behavior — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
The motion of the content within the rectangular space set aside for
the MARQUEE
element. You have a choice of three
motion types.
Example
document.all.newsBanner.behavior = "slide"
Value
Case-insensitive MARQUEE
element motion types:
-
alternate
Content alternates between marching left and right.
-
scroll
Content scrolls (according to the
DIRECTION
attribute ordirection
property) into view and out of view before starting again.-
slide
Content scrolls (according to the
DIRECTION
attribute ordirection
property) into view, stops at the end of its run, blanks, and then starts again.
Default
scroll
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.