This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.
Provides an active timeline for an HTML element or group of elements.
.style.behavior = "url('#default#time2')"
Prefix required by the time2 behavior. This prefix is set using the XMLNS attribute of the HTML PredefinedTag One of the following predefined tags:animationDefines a timed animation element in an HTML document.audioDefines a timed audio element in an HTML document.exclDefines a time container that allows only one child element to play at any given time.imgDefines a timed image element in an HTML document.mediaDefines a generic, timed media element in an HTML document.parDefines a new timeline container in an HTML document for independently timed elements.refDefines a reference to a generic timed element in an HTML document.seqDefines a new timeline container in an HTML document for sequentially timed elements.videoDefines a timed video element in an HTML document. sID String that specifies a unique identifier for the object.
The following table lists the members exposed by the time2 object.Attributes/Properties
Attribute Property Description ACCELERATE accelerate
Sets or gets a value that applies an acceleration to an element timeline.
Sets or gets whether the timeline on an element begins playing in reverse immediately after it completes in the forward direction.
Sets or gets the delay time before the timeline begins playing on the element.
Sets or gets a value that applies a deceleration to the end of a simple duration.
Sets or gets a value indicating the amount of time the element remains active or displayed.
Retrieves the dispatch for an animated element.
Sets or gets a value indicating the end time for the element, or the end of the simple duration when the element is set to repeat.
Sets or gets the action taken by an element if the element timeline ends before the timeline on its parent element ends.
Gets a Boolean value that indicates whether the element is an Introduction to HTML+TIME media element.
Retrieves whether direct music is installed.
Sets or gets a value that indicates whether the audio is turned on or off.
REPEATCOUNT repeatCount Sets or gets the number of times an element timeline repeats. REPEATDUR repeatDur
Sets or gets the number of seconds that an element timeline repeats.Sets or gets the number of seconds that an element timeline repeats.
Sets or gets the conditions under which an element can be restarted on a timeline.
Sets or gets the playback speed of an element relative to its parent time container.
Sets or gets a value that indicates the synchronization rules for the element timeline.
Sets or gets whether the time container must synchronize playback to this element.
Sets or gets the time variance that is allowed on a timeline with locked synchronization.
Gets the approximate bandwidth available to the system in bits-per-second.
Indicates whether to display a text equivalent of the audio portion of the presentation.
Indicates whether a given language is selected in a user's system preferences.
Specifies whether overdubs or subtitles render during a presentation.
Sets or gets the action that is taken on the element while the timeline is active.
Sets or gets the type of timeline associated with an element.
Gets the parent time container element of the current element.
Sets or gets the volume of the media file.Events
Event Property Description onbegin
Fires when the timeline starts on an element.
Fires when the timeline stops on an element.
Fires when the element's associated media finish loading.Fires when the element's associated media finish loading.
Fires when an element's media file causes any error.
Fires when the timeline on an element pauses.
Fires when the timeline repeats on an element, beginning with the second iteration.
Fires when an element's timeline resumes from a paused state.
Fires when the timeline on an element begins to play backward.
Fires whenever a seek operation is performed on the element.Methods
Method Description activeTimeToParentTime
Converts a value in the element's active timeline to the corresponding point in the parent timeline.
Converts a value in the element's active timeline to the corresponding point in the segment timeline.
Adds a fragment to the composer site. Consults the registered composer factories to find the proper composer.
Starts the element on the timeline.
Starts an element's timeline at the specified time.
Activates the currently-selected button.
Notifies the fragment to detach itself from the animation composer.Notifies the fragment to detach itself from the animation composer.
Converts a value in the document timeline to the corresponding point in the element's parent timeline.
Stops the element on the timeline.
Ends an element's timeline at the specified time.
Enumerates the fragments on the composer registered for the given attribute name.
Retrieves an animated attribute's current value.
Navigates to menu.
Inserts a fragment into the composer site at the specified index.
Selects the button to the left of the current button.
Selects the button below the current button.
Converts a value in the parent timeline to the corresponding point in the element's active timeline.
Converts a value in the element's parent timeline to the corresponding point in the document timeline.
Stops playing an element's timeline at the current point.
Registers a new composer factory with this site.
Removes a fragment from the composer site.
Removes any changes made to the element and returns the element to its original state.
Restarts the element's timeline from a paused state.
Selects the button to the right of the current button.
Locates a specified point on the element's active timeline and begins playing from that point.Locates a specified point on the element's active timeline and begins playing from that point.
Locates the specified point on the element's segment timeline, and begins playing from that point.
Locates a specified point on the element's segment timeline, including repetitions, and begins playing from that point.
Locates a specified frame in the object.
Converts a value in the element's segment timeline to the corresponding point in the element's active timeline.
Converts a value in the element's segment timeline to the corresponding point in the element's simple timeline.
Converts a value in the element's simple timeline to the corresponding point in the element's segment timeline.
Unregisters a composer factory on this site.
Selects the button above the current button.Objects
Object Description currTimeState
Contains information about an HTML+TIME timeline.
This behavior supersedes the time behavior.
This default behavior adds timing to HTML pages. Using the HTML+TIME (Timed Interactive Multimedia Extensions) extensions, any HTML element can be set to appear at a given time, last for a specified duration, and repeat the action if desired. In addition to hiding and displaying elements, inline CSS styles can be applied to elements for a specified duration. The time2 behavior supports all time-related attributes, properties, methods, and events.
HTML+TIME is not supported in HTML Component (HTC) files.
The members listed in the preceding table might not be accessible through scripting until the window. onload event fires. Waiting for this event to fire ensures that the page is completely loaded, that all behaviors have been applied to corresponding elements on the page, and that all the behavior's properties, methods, and events are available for scripting. Using any of the behavior-defined members before the window. onload event fires could result in a scripting error, indicating that the object does not support that particular member.
The time2 behavior is available as of Microsoft Internet Explorer 5.5 only in the Microsoft Win32 platform.Note HTML+TIME 2.0 is available in minimal installations of Internet Explorer 5.5 and Internet Explorer 6.
A, ABBR, ACRONYM, ADDRESS, AREA, B, BIG, BLOCKQUOTE, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, hn, HR, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, KBD, LEGEND, LI, LISTING, MARQUEE, MENU, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, selection, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP