Partager via


endSync property

Sets or gets the synchronization rule that specifies which child element is used to determine when the time container ends.

Syntax

JScript
time = object.endSync

 

Property values

Type: String

One of the values in the Property Values section.

Examples

This example uses the ENDSYNC attribute to end a time container after the second child element ends.

Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/endsync.htm

<HTML XMLNS:t ="urn:schemas-microsoft-com:time">
<HEAD>
<STYLE>
    .time {behavior: url(#default#time2);}
</STYLE>
<?IMPORT namespace="t" implementation="#default#time2">
</HEAD>

<BODY>

<t:excl ID="parent" endsync="div2">
    <DIV ID="div1" CLASS="time" BEGIN="0" DUR="2">First line of text.</DIV>
    <DIV ID="div2" CLASS="time" BEGIN="2" DUR="2">Second line of text.</DIV>
    <DIV ID="div3" CLASS="time" BEGIN="4" DUR="2">Third line of text.</DIV>
</t:excl>

</BODY>
</HTML>

See also

par

excl

Introduction to HTML+TIME