scrolldelay (HTML attribute)

Spec
Depr. Version
No N/A
Browser support (more…)
IE5.5+ FF1+ SA1.3+ OP9.2+ CH2+
Full Full Full Full Full

Syntax

scrolldelay="number"

Description

The scrolldelay is used to slow the speed at which the text inside the marquee moves across the viewport. It has the opposite use of the scrollamount attribute which is used to speed up the movement.

Although well supported, the effect is not particularly pleasing on the eye (the same could be said of marque as a whole), as the text moves in very noticeable steps rather than any kind of smooth sliding effect.

Example

The scrolldelay is set to 200 milliseconds:

<p><marquee scrolldelay="200">I'm putting the brakes
on this scrolling message</marquee></p>

Value

An integer which represents the delay in milliseconds (1/1000th of a second), thus scrolldelay="200" equates to a 5th of a second. The default value is "85".

Compatibility

Internet Explorer Firefox Safari Opera Chrome
5.5 6.0 7.0 8.0 1.0 1.5 2.0 3.0 3.5 1.3 2.0 3.1 4.0 9.2 9.5 10.0 2.0
Full Full Full Full Full Full Full Full Full Full Full Full Full Full Full Full Full

This attribute is not defined by any standard but is well supported nonetheless.

User-contributed notes

There are no comments yet.

Related Products