SCROLLAMOUNT


SCROLLAMOUNT ATTRIBUTE sets the speed of the scrolling.

Marquee moves the content by displaying the content, then delaying for some short period of time, then displaying the content again in a new position. SCROLLAMOUNT sets the size in pixels of each jump. A higher value for SCROLLAMOUNT makes the marquee scroll faster. The default value is 6.

The scrolldelay attribute lets you specify the number of milliseconds you want to elapse between each movement.
By default, Internet Explore uses a minimum scrolldelay value of 60 milliseconds, even if you specify a smaller value. Use the truespeed attribute to override the minimum value.


Examples:

This code Will give you this:
<MARQUEE>Hello!</MARQUEE> Hello!
 
This code Will give you this:
<MARQUEE SCROLLAMOUNT=15>Hello!</MARQUEE> Hello!
 
This code Will give you this:
<MARQUEE SCROLLAMOUNT=40>Hello!</MARQUEE> Hello!


Back
My home page