prevElement and nextElement Methods

This example demonstrates the nextElement and prevElement methods. The t:SEQ time container has four DIV elements of different colors, each with a duration of 10 seconds. When you click the Next Element or Previous Element buttons, the timeline advances to the next element in the sequence or resets the timeline so that the previous element in the sequence begins playing.

Click the Start button to begin.

Document timer: 0
Time container timer: 0






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.