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

endElementAt Method

Internet Development Index

Ends an element's timeline at the specified time.

Syntax

object.endElementAt(iSeconds)

Parameters

iSeconds Required. String that specifies the point along the element's parent timeline at which to stop playing the element.

Return Value

No return value.

Remarks

The element will stop playing at the point in its timeline specified by the endElementAt method if endElementAt is invoked at any time before the parent element reaches that specified time. Otherwise, the element will continue playing until it reaches the end of its timeline.

Example

This example shows how to use the endElementAt method to end an element's timeline at a specified time.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<SCRIPT>
function doEnd(){
<!-- Validate input from user. -->
if(secondToEnd.value<=document.body.currTimeState.activeTime || secondToEnd.value==null)
{
alert('Must be an integer greater than the time container timer value!\nPlease enter value again.');
}
else
{
t1.endElementAt(secondToEnd.value);
}
}
</SCRIPT>
<STYLE>
.time { behavior: url(#default#time2) }
</STYLE>
<?IMPORT namespace="t" implementation="#default#time2">
</HEAD>
<BODY>
<B>Time Container Timer:</B>
<SPAN id="Timer" class="time" dur=".01"  repeatCount="indefinite" fill="hold"
onrepeat="innerText=parseInt(t1.currTimeState.activeTime);">0</SPAN>
<BR><BR>
<t:excl ID="t1" repeatDur="indefinite">
<DIV ID="div1" CLASS="time" BEGIN="0" DUR="5">First line displayed for 5 seconds.</DIV>
<DIV ID="div2" CLASS="time" BEGIN="5" DUR="5">Second line displayed for 5 seconds.</DIV>
</t:excl>
<BR>
Point in document time to end (must be a positive integer):<BR>
<INPUT type="number" name="secondToEnd" size="3" />
<BUTTON ID="b1" onclick="doEnd()">Submit Time</BUTTON>
</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 defined in Synchronized Multimedia Integration Language (SMIL) 2.0 Non-Microsoft link.

Applies To

t:TRANSITIONFILTER, t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:REF, t:SEQ, t:SET, time2, t:VIDEO

See Also

beginElementAt, endElement, Introduction to HTML+TIME
墨玉县| 盐山县| 武隆县| 大竹县| 孟连| 米易县| 雷州市| 苏尼特右旗| 乐安县| 祁阳县| 怀宁县| 遵义县| 平泉县| 彩票| 寿宁县| 龙南县| 高唐县| 朝阳市| 延寿县| 吕梁市| 怀远县| 江山市| 天祝| 崇信县| 田阳县| 宁蒗| 延边| 宝鸡市| 桐柏县| 蕉岭县| 广东省| 宁德市| 白城市| 阜平县| 汉源县| 望都县| 济阳县| 静海县| 临城县| 齐河县| 四平市|