This example uses the currTimeState.segmentDur property to retrieve the duration of the elements on the timeline.
Document timer: 0Paragraph 1 is displayed until it is interrupted by the next element (at 5 seconds); it then resumes its duration of 10 seconds.
Paragraph 2 is displayed for 5 seconds; Paragraph 1 then resumes its duration.
To view the source code, right-click this page and choose View Source from the shortcut menu that appears.
© 2007 Microsoft Corporation. All rights reserved. Terms of use.