TIMECONTAINER Attribute | timeContainer Property

Internet Development Index

Sets or retrieves the type of timeline associated with an element.

Syntax

HTML<ELEMENT TIMECONTAINER = sType... >
Scripting[ sType = ] object.timeContainer

Possible Values

sTypeString that specifies one of the following values:
exclExclusive timeline container element in a document. Only one HTML descendant of this element can play at a time.
noneDefault. Current element does not define a local timeline and has no affect on its contained time descendants.
parNew timeline container element in a document. All HTML descendants of this element have independent, or parallel, timing.
seqSequence timeline container element in a document. When the timeline of an element in the sequence ends, the next element begins playing.

The property is read-only. The property has a default value of none.

Example

This example shows how to use the TIMECONTAINER attribute to create a time container.

<HTML>
<HEAD>
<STYLE>
.time        	{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY>
<MARQUEE CLASS="time" TIMECONTAINER="seq" REPEATCOUNT="indefinite">
<IMG CLASS="time" DUR="4" SRC="smilingWoman.gif" ALT="Smiling Woman">
<img CLASS="time" DUR="4" SRC="smilingMan.gif" ALT="Smiling Man">
<img CLASS="time" DUR="4" SRC="child.gif" ALT="Smiling Man">
</MARQUEE>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 5.5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is defined in Synchronized Multimedia Integration Language (SMIL) 2.0 Non-Microsoft link.

Applies To

A, ACRONYM, ADDRESS, t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:ANIMATION, AREA, t:AUDIO, B, BIG, BLOCKQUOTE, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, hn, HR, I, IFRAME, IMG, t: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, t:MEDIA, MENU, OL, OPTION, P, PLAINTEXT, playItem, PRE, Q, t:REF, S, SAMP, t:SEQ, t:SET, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, time2, TR, TT, U, UL, VAR, t:VIDEO, XMP

See Also

Introduction to HTML+TIME, excl, par, seq