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

isOn Property

Internet Development Index

Retrieves a value that specifies whether the element is active or holding on the timeline in its current state.

Syntax

[ bHolding = ] currTimeState.isOn

Possible Values

bHolding Boolean that specifies one of the following values:
trueElement is active on the timeline or paused at its end, waiting for the container's timeline to end.
falseDefault. Element is not active, or is holding on the timeline.

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

Remarks

An element must have the fill attribute set to freeze or hold to enable holding. This property is equivalent to the state property when it returns a value of 4.

An element is considered inactive when it is in a holding state. When an element is inactive, it can neither generate nor respond to events.

Example

This example uses the isOn property to retrieve a value that indicates whether the element is active or holding in its current state.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>isOn Property</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, 10);
}
function fnUpdateTimes()
{
(a1.currTimeState.isOn == true ? s1.innerHTML='<B>&nbsp;isOn:&nbsp;</B>True - Active' : s1.innerHTML='<B>&nbsp;isOn:&nbsp;</B>False - Not active, or holding.');
}
</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>Moving DIV timer:</B>
<SPAN id="Timer3" class="time" dur="1" repeatCount="indefinite"
onrepeat="innerText=parseInt(a1.currTimeState.activeTime);">0</SPAN>
<t:excl id="t1" begin="indefinite" dur="5" repeatCount="5">
<t:ANIMATEMOTION ID="a1" targetElement="div1" to="200,0" begin="0"
dur="2" autoReverse="true" />
</t:excl>
<DIV ID="div1" CLASS="time"	STYLE="position:relative;top:15px;left:25px;
height:100px;width:100px;background-color:yellow;"></DIV>
<SPAN id="s1" style="position:relative;top:40px;"><B>isOn:</B></SPAN>
<P style="position:relative;top:40px;">
<BUTTON id="b1" onclick="t1.beginElement();">Start</BUTTON>
<BUTTON id="b2" onclick="t1.endElement();">Stop</BUTTON>
</P>
</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 a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

currTimeState

See Also

Introduction to HTML+TIME, isActive, isPaused, state, stateString
新疆| 泽州县| 瓦房店市| 墨竹工卡县| 阳原县| 原阳县| 台安县| 丹棱县| 依安县| 吴桥县| 衡水市| 廊坊市| 宁蒗| 弋阳县| 冀州市| 晋宁县| 莱芜市| 南陵县| 石嘴山市| 东乌珠穆沁旗| 舒兰市| 遵义市| 南皮县| 武城县| 焦作市| 遂平县| 武夷山市| 佛坪县| 卓资县| 永州市| 拜泉县| 利津县| 太康县| 黄骅市| 阿拉尔市| 栖霞市| 张家口市| 甘德县| 昌黎县| 黄陵县| 河南省|