Share via


MarqueeElement.trueSpeed Property

SharePoint Designer Developer Reference

Sets or returns a Boolean that specifies whether scrolling of text in a MARQUEE element is calculated by using the scrollDelay and scrollAmount properties and the actual time elapsed from the last clock tick. Corresponds to the trueSpeed attribute of a MARQUEE element.

Syntax

expression.trueSpeed

expression   Required. A variable that represents a MarqueeElement object.

Remarks

The trueSpeed property can be one of the following String values.

Value Description
false Bases scroll movement on 60-millisecond ticks of the clock. This ignores scrollDelay attribute values less than 60, and the text in the MARQUEE element advances the amount of the scrollAmount attribute each 60 milliseconds. For example, if the scrollDelay attribute is 6 and the scrollAmount attribute is 10, the text in the MARQUEE element advances 10 pixels every 60 milliseconds.
true Advances the pixel value of the scrollAmount attribute by the number of milliseconds set for the scrollDelay attribute. For example, the text in the MARQUEE element scrolls 10 pixels for every 6 milliseconds if the scrollDelay attribute is 6, the scrollAmount attribute is 10, and the trueSpeed attribute is "true".

See Also