Click to return to the DHTML, HTML     
statics Property     syncTolerance Property     Default Behaviors Referen...    
Web Workshop  |  DHTML, HTML & CSS

SYNCBEHAVIOR Attribute | syncBehavior Property


This document describes technologies available as an experimental implementation of HTML+TIME within Internet Explorer 5. While we encourage you to evaluate these features and to send us your feedback, please note that these features are subject to change.

Sets or retrieves the synchronization rules for the element's timeline.

Syntax

HTML <ELEMENT STYLE="behavior:url(#default#time);" t:SYNCBEHAVIOR = sRule... >
Scripting object.syncBehavior [ = sRule ]

Possible Values

sRule String that specifies one of the following values:
canSlip Element does not have to be synchronized with the parent element's timeline. This allows an HTML page to have enough flexibility to handle network problems.
locked Element must be synchronized with the parent element's timeline. For example, a parent element's timeline does not progress until the child element's media is ready to be played.

The property is read/write with a default value of canSlip. This property cannot be modified in script after the onload event fires on the document body.

Remarks

You must use this property with the CLOCKSOURCE attribute to determine the scope of which elements to synchronize. If a media file isn't ready when the timeline begins, the canSlip value enables the parent timeline to continue without interruption. The timeline on the element associated with the media begins as soon as the file loads.

If you set the SYNCBEHAVIOR attribute to locked, the parent timeline must pause and wait for the element to catch up. If the parent element's timeline is also locked, the scope of the synchronization behavior is extended to include all the time children of the parent's parent element. If all timelines are locked, the entire document pauses when an element cannot maintain its synchronization.

The prefix t is used to associate this attribute with an XML namespace.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
animation, audio, img, media, par, seq, time, video

See Also

HTML+TIME, syncTolerance


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.