TRUESPEED Attribute | trueSpeed参数属性
| DHTML文档教程 |
Sets or retrieves whether the position of the marquee is calculated using the scrolldelay and scrollamount properties and the actual time elapsed from the last clock tick.
dhtml语法
HTML | <MARQUEE TRUESPEED
... >
|
---|
Scripting | MARQUEE.trueSpeed [ = bSpeed ] |
---|
DHTML可能的值
bSpeed | Boolean that
specifies or receives one of the following values.false | Default. Marquee computes movement based on 60-millisecond ticks of the clock. This means every scrollDelay value under 60 is ignored, and the marquee advances the amount of scrollAmount each 60 milliseconds. For example, if scrollDelay is 6 and scrollAmount is 10, the marquee advances 10 pixels every 60 milliseconds. | true | Marquee advances the pixel value of scrollAmount by the number of milliseconds set for scrollDelay. For example, the marquee would advance 10 pixels for every 6 milliseconds if scrollDelay is 6, scrollAmount is 10, and the value of trueSpeed is true. |
|
The property is read/write.
The property has a default value of
false.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.
remarks
the truespeed property indicates that the exact scrolldelay value specified is used to move the marquee text. if truespeed is false, all scrolldelay values of 59 or less are rounded up to 60 milliseconds.
是否符合公共标准
There is no public standard that applies to this property.
Applies To