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

onreset Event

Internet Development Index

Fires when the timeline reaches the value of the BEGIN attribute or when the resetElement method is called on the element.

Syntax

Inline HTML<ELEMENT onreset = "handler" ... > All platforms
Event propertyobject.onreset = handlerJScript only
object.onreset = GetRef("handler")Visual Basic Scripting Edition (VBScript) 5.0 or later only
Named script <SCRIPT FOR = object EVENT = onreset> Internet Explorer only

Event Information

BubblesNo
CancelsNo
To invoke Add the time2 behavior to an element. Call the resetElement method.
Default action Calls the associated event handler.

Available Properties

Available Properties

Example

In this example, the onreset event fires when the resetElement method is called on the time container.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>onreset Event</TITLE>
<SCRIPT>
function doReset(){
//Reset changes applied to time container.
t1.resetElement();
b2.disabled=true;
b1.disabled=false;
t1.onreset=alert('Timeline has been reset.');
}
function setEndTime(){
//Time container is set to end at 10 seconds.
t1.endElementAt(10);
//Has 10 seconds already lapsed within the document?
//Yes: End time container immediately and disable buttons.
//No: Enable reset button.
if(document.body.currTimeState.activeTime > 10){
alert('Time container will end immediately.');
b2.disabled=true;
b1.disabled=true;
}else{
alert('The time container will end at 10 seconds!');
b2.disabled=false;
b1.disabled=true;
}
}
</SCRIPT>
<STYLE>
.time { behavior: url(#default#time2) }
</STYLE>
<?IMPORT namespace="t" implementation="#default#time2">
</HEAD>
<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="fixed" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<t:excl ID="t1" repeatDur="indefinite" BEGIN="0"
onbegin="b1.disabled=false;b2.disabled=true;">
<DIV ID="div1" CLASS="time" BEGIN="0" DUR="7.5s">First line displayed for
7.5 seconds.</DIV>
<DIV ID="div2" CLASS="time" BEGIN="5" DUR="7.5s">Second line displayed for
7.5 seconds.</DIV>
</t:excl>
<BR>
<BUTTON id="b1" onclick="setEndTime();">End Timeline at 10 seconds</BUTTON>
<BUTTON id="b2" onclick="doReset();">Reset</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 event is a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

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
兴仁县| 楚雄市| 恭城| 民权县| 邳州市| 浮梁县| 平阳县| 通化市| 高青县| 斗六市| 信丰县| 手游| 临城县| 余江县| 宣恩县| 天峻县| 澄城县| 延津县| 贵南县| 中宁县| 宜兴市| 大新县| 镶黄旗| 临泉县| 石柱| 通海县| 察隅县| 长顺县| 山阳县| 芜湖市| 东阳市| 广宁县| 宁海县| 鸡西市| 怀仁县| 南雄市| 杭锦后旗| 桦南县| 富蕴县| 武川县| 张北县|