When one marquee leaves the screen then after a short time gap it enters from another side. Is there any way to reduce this time?
<marquee behavior=scroll direction="left" scrollamount="5">Your message here</marquee>
scrollamount controls the speed of text: higher the value higher is the scrolling speed
we can control the scrolling speed by using the scrollamount
attribute,
Example:
<marquee scrollamount="30">scrolling fast</marquee>
<marquee scrollamount="2">scrolling slow</marquee>
note:if you specify the minimum number, the scrolling speed will be reduce vice versa
This attribute takes the time in milliseconds.
Delay : 100 Milliseconds
<marquee scrolldelay="100">Scrolling text</marquee>
Delay : 400 Milliseconds
<marquee scrolldelay="400">Scrolling text</marquee>
You can Change the speed by adding scrolldelay
<marquee style="font-family: lato; color: #FFFFFF" bgcolor="#00224f" scrolldelay="400">Now the Speed is Delay to 400 Milliseconds</marquee>
To increase scroll speed of text use attribute
scrollamount
OR
scrolldelay
in the 'marquee' tag. place any integer value which represent how fast you need your text to move
scrolldelay="number"