Name

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

Synopsis

SCROLLAMOUNT=”pixelCount"

Optional

MARQUEE content looks animated by virtue of the browser clearing and redrawing its content at a location offset from the previous location (in a direction set by the DIRECTION attribute). You can make the scrolling appear faster by increasing the amount of space between positions of each drawing of the content; conversely, you can slow down the scrolling by decreasing the space. See also SCROLLDELAY.

Example

<MARQUEE BEHAVIOR="slide" DIRECTION="left" HEIGHT=20 WIDTH=200 SCROLLAMOUNT=2>
...
</MARQUEE>

Value

Any positive integer.

Default

6

Object Model Reference

IE

[window.]document.all.elementID.scrollAmount

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.