HBCMS更多的中文手册参考:

syncTolerance参数属性

DHTML中文手册

Sets or retrieves the time variance allowed on a timeline with locked synchronization.

dhtml语法

HTMLN/A
Scriptingobject.syncTolerance [ = sTime ]

DHTML可能的值

sTimeStringthat specifies the amount of time variance, in seconds, allowed between synchronized elements.

The property is read/write. The property has no default value.

Remarks

This property is valid only for time containers with locked timelines, as defined using the syncbehavior and syncmaster attributes. once the synchronization of locked elements is off by more than the synctolerance value, the elements resynchronize.

DHTML代码范例

This example demonstrates how to retrieve the time variance allowed on a timeline with locked synchronization using the syncTolerance property. To use this example, replace the path some_media_file.wmv with a valid location path of a media file on your machine.

...
<SCRIPT>
function getsyncTolerance(){
//Retrieve the time variance using syncTolerance.
osyncTolerance.innerText = oMedia1.syncTolerance;
}
</SCRIPT>
...
<t:PAR id="par2" timeAction="display" >
<t:media id="oMedia1" begin="0" dur="20s" timeAction="display"
syncMaster="true" syncBehavior="locked" src="some_media_file.wmv"
onmediacomplete="getsyncTolerance()"/>
</t:PAR>
...

是否符合公共标准

This property is defined in Synchronized Multimedia Integration Language (SMIL) 2.0 Non-Microsoft link.

Applies To

t:ANIMATION, t:AUDIO, t:EXCL, t:IMG, t:MEDIA, t:PAR, t:REF, t:SEQ, time2, t:VIDEO

更多语法参考

Introduction to HTML+TIME