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

simpleTimeToSegmentTime Method

Internet Development Index

Converts a value in the element's simple timeline to the corresponding point in the element's segment timeline.

Syntax

segmentTime = object.simpleTimeToSegmentTime(simpleTime)

Parameters

simpleTime Required. Integer that specifies a point on the element's simple timeline.

Return Value

Integer that specifies the point in the segment timeline that corresponds to simpleTime.

Example

This example uses the simpleTimeToSegmentTime method to compare the value of the element's simple timeline to the corresponding point in the element's segment timeline.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>simpleTimeToSegmentTime Method</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<SCRIPT>
window.onload = fnOnLoad;
function fnOnLoad()
{
// Set up a timer to watch the time values.
window.setInterval(fnUpdateTimes, 100);
}
function fnUpdateTimes()
{
s1.innerHTML = "&nbsp;simpleTimeToSegmentTime:&nbsp;" +
(a1.simpleTimeToSegmentTime(div1.currTimeState.activeTime));
s2.innerHTML = "&nbsp;segmentTime:&nbsp;" +
(a1.currTimeState.segmentTime);}
</SCRIPT>
<STYLE>
.time{behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<B>Timer:</B>
<SPAN id="Timer1" class="time" dur="1" repeatCount="indefinite"
onrepeat="innerText=parseInt(document.body.currTimeState.activeTime);">
0</SPAN>
<DIV ID="div1" CLASS="time" STYLE="position:relative;top:25px;left:25px;
height:100px;width:100;background-color:yellow;"></DIV>
<t:ANIMATEMOTION ID="a1" targetElement="div1" to="250,0" dur="3"
autoReverse="true" repeatCount="indefinite"/>
<SPAN id="s1" style="position:relative;top:40px;">simpleTimeToSegmentTime:</SPAN>
<BR>
<SPAN id="s2" style="position:relative;top:40px;">segmentTime:</SPAN>
<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

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

See Also

Introduction to HTML+TIME, segmentTime, simpleTime
新密市| 名山县| 将乐县| 和龙市| 萨嘎县| 商河县| 彭州市| 东乌珠穆沁旗| 岑溪市| 夹江县| 曲水县| 集安市| 依安县| 开封市| 义乌市| 突泉县| 凤台县| 唐河县| 红河县| 吉木萨尔县| 板桥市| 蚌埠市| 庆阳市| 乌拉特前旗| 遂平县| 龙海市| 南投县| 蕲春县| 新泰市| 寻乌县| 腾冲县| 玉环县| 忻城县| 平乡县| 武功县| 扎兰屯市| 嘉义县| 五大连池市| 米脂县| 左云县| 陕西省|