SYNCBEHAVIOR Attribute | syncBehavior Property

MS Office 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 feedbackInternet Link, 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... >
Scriptingobject.syncBehavior [ = sRule ]

Possible Values

sRuleString that specifies one of the following values:
canSlipElement 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.
lockedElement 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:
Version data is listed when the mouse hovers over a link, or the link has focus.
animation, audio, img, media, par, seq, time, video

See Also

html+timeInternet Link, syncTolerance

Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.