This example demonstrates how you can set elements to begin or end in response to user interaction.


To begin
Click anywhere within this box to make the yellow DIV start its duration. The timeline restarts if the yellow DIV is already active when you click here.
To end
If the element is active, click anywhere within this box to end the element's timeline.

[Right-click and choose View Source from the shortcut menu.]

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