scrolldelay is used to slow the speed at which the
text inside the marquee moves across the viewport. It has the opposite use
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.
scrolldelay is set to 200
<p><marquee scrolldelay="200">I'm putting the brakes on this scrolling message</marquee></p>
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
This attribute is not defined by any standard but is well supported nonetheless.
There are no comments yet.