Name

DIRECTION — NN n/a IE 4 HTML n/a

Synopsis

DIRECTION=”scrollDirection"

Optional

A MARQUEE element’s content may scroll in one of four directions. For optimum readability in languages written left to right, it is easier to grasp the content when it scrolls either to the left or downward.

Example

<MARQUEE BEHAVIOR="slide" DIRECTION="left" WIDTH=200>
...
</MARQUEE>

Value

Four possible directions: down | left | right | up.

Default

left

Object Model Reference

IE

[window.]document.all.elementID.direction

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.