timeParent Property

The timeParent property retrieves the parent time container element of the current element. This example demonstrates how to retrieve the parent time container element's duration and how to set the duration from indefinite to 30 seconds.
Note: If 30 seconds has already lapsed before you set the duration of the parent time container, the time container will end immediately.

Timer: 0
Parent element's duration:



Click the button below to set the parent element's duration to 30 seconds from indefinite.

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.