次の方法で共有


direction attribute | direction property

Sets or retrieves the direction in which the text should scroll.

Syntax

HTML <element direction="p" ... >
JavaScript

p = object.direction

 

Property values

Type: String

left

Default. Marquee scrolls left.

right

Marquee scrolls right.

down

Marquee scrolls down.

up

Marquee scrolls up.

See also

marquee