Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
end
src
src
URL
Expand Minimize

index Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Retrieves the index value of the playItem object in the playList collection.

Syntax

[ iIndex = ] playItem.index

Possible Values

iIndex Integer that receives the index value of the playItem object in the playList collection.

The property is read-only. The property has no default value.

Example

This example uses the index property to retrieve the index value of the playItem object in the playList collection.


<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
    .time{ behavior: url(#default#time2);}
</STYLE>
<SCRIPT>
function getIndex(){
    alert('Index value: ' + m1.playList.activeTrack.index);
}
</SCRIPT>
<BODY>
<t:media id="m1" begin="0;" src="/test/someCollection.asx"/>
<BUTTON onclick="getIndex();">Get index value</BUTTON>
</BODY>
</HTML>

Applies To

playItem

See Also

Introduction to HTML+TIME

Community Additions

ADD
Show:
© 2015 Microsoft