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

onpause Event

Internet Development Index

Fires when the timeline on an element pauses.

Syntax

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

Event Information

BubblesNo
CancelsNo
To invoke Call the pauseElement method.
Default action Calls the associated event handler.

Available Properties

Available Properties

Remarks

The onpause event fires on every element that is active when the timeline pauses, including the body element.

Example

This example demonstrates how to use the onpause event, which fires when the element's timeline pauses.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>onpause Event</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time {behavior:url(#default#time2);}
</STYLE>
</HEAD>
<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<B>Time container timer:</B>
<SPAN id="Timer2" class="time" dur="1" repeatCount="indefinite"
onrepeat="innerText=parseInt(t1.currTimeState.activeTime);">0</SPAN>
<BR>
<B>Moving DIV timer:</B>
<SPAN id="Timer3" class="time" dur="1" repeatCount="indefinite"
onrepeat="innerText=parseInt(a1.currTimeState.activeTime);">0</SPAN>
<P></P>
<t:excl id="t1" begin="indefinite" dur="5" repeatCount="5"
onpause="alert('Moving DIV is paused!');">
<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;text-align:center;font-size:large;
border:solid black 1px">Moving DIV
</DIV>
<P style="position:relative;top:40px;">
<BUTTON id="b1" onclick="t1.beginElement();">Start</BUTTON>
<BUTTON id="b2" onclick="t1.pauseElement();">Pause</BUTTON>
<BUTTON id="b3" onclick="t1.resumeElement();">Resume</BUTTON>
<BUTTON id="b4" 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 event 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:IMG, t:MEDIA, t:PAR, t:REF, t:SEQ, t:SET, time2, t:VIDEO

See Also

onresume, Introduction to HTML+TIME
葫芦岛市| 洛隆县| 璧山县| 白河县| 固阳县| 奈曼旗| 西丰县| 中宁县| 临沂市| 宣武区| 昔阳县| 原平市| 阳高县| 万年县| 兰州市| 临沧市| 康乐县| 鄄城县| 巩义市| 石城县| 武强县| 苍山县| 枣强县| 临朐县| 河池市| 华池县| 乐山市| 鹤山市| 大名县| 遂宁市| 营口市| 原阳县| 祁东县| 桐梓县| 富锦市| 连城县| 平利县| 济南市| 桂东县| 虞城县| 钟祥市|