Name

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

Synopsis

SCROLLDELAY=”milliseconds"

Optional

Apparent scrolling speed can be influenced by the frequency of redrawing of the content as its position shifts with each redraw (see SCROLLAMOUNT). Increasing the SCROLLDELAY value slows down the scroll speed, whereas decreasing the value makes the scrolling go faster. Be aware that on slower computers, you can reach a value at which no increase of speed is discernible no matter how small you make the SCROLLDELAY value (see TRUESPEED).

Example

<MARQUEE BEHAVIOR="slide" DIRECTION="left" HEIGHT=20 WIDTH=200 SCROLLDELAY=100>
...
</MARQUEE>

Value

Any positive integer representing the number of milliseconds between content redraws.

Default

85 (Windows 95); 90 (Macintosh).

Object Model Reference

IE

[window.]document.all.elementID.scrollDelay

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.