最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

item Method

Internet Development Index

Retrieves an object from the specified collection.

Syntax

oItem = object.item( [iIndex])

Parameters

iIndex Optional. Integer that specifies the index of the object to retrieve from the collection. The first object in the collection is located at index position 0, and the last object in the collection is located at position length minus 1. If a value is not specified, the default is 0.

Return Value

Returns a reference to the object located at the specified index in the collection.

Example

This example demonstrates how to use the item method to retrieve an object from a collection.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>item Method</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
var m2; //another media object
//...
function setActiveTrack(){
if(itemNumber.value=="" || (itemNumber.value<1 || itemNumber.value>5) || (isFinite(itemNumber.value)==false)){
alert('Must enter a valid track number!\nPlease re-enter your choice (1-5).');
itemNumber.value='';
itemNumber.focus();
return;
}else{
m2 = m1.playList.item(itemNumber.value-1); //index starts at 0
updateFields();
}
}
...
</SCRIPT>
</HEAD>
<BODY  TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF" LINK="#000000" VLINK="#808080" ALINK="#000000">
<t:media id="m1" begin="indefinite;" src="../../common/samples/author/behaviors/media/media.asx" />
<span id="title1">Title:</span><BR>
<span id="author1">Author:</span><BR>
<span id="abstract1">Abstract:</span><BR>
<span id="copyright1">Copyright:</span><BR>
<span id="index1">Index: </span><BR><BR>
Enter track number (1-5): <input type="text" name="itemNumber" value="" size="2"><BR><BR>
<BUTTON id="b0" onclick="m1.beginElement();setActiveTrack();">Start</BUTTON>
<BUTTON id="b3" onclick="m1.endElement();emptyFields();">Stop</BUTTON>
<BR><BR>
</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 method is a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

activeElements, timeAll, timeChildren, playList

See Also

Introduction to HTML+TIME, activeElements
临洮县| 乐亭县| 浮山县| 即墨市| 杂多县| 荥经县| 仙居县| 莲花县| 华蓥市| 五寨县| 沂水县| 安吉县| 广水市| 志丹县| 张掖市| 马山县| 武宁县| 定边县| 宜丰县| 错那县| 新化县| 同江市| 麻栗坡县| 温泉县| 平度市| 镇江市| 钟山县| 固原市| 休宁县| 荥阳市| 新民市| 宁蒗| 桐柏县| 西青区| 普定县| 水富县| 龙泉市| 黔南| 晴隆县| 太和县| 怀安县|