¿¤·¹¸àÆ® ½Ã°£°³Ã¼°¡ ÀϽÃÁßÁö¿¡¼­ ´Ù½Ã½ÃÀÛ(resume)À¸·Î ȸº¹µÇ¸é ¹ß»ýµÈ´Ù.


À̺¥Æ® ¼Ó¼º
object.onresume=handler JScript ¸¸-
object.onresume=GetRef("handler") VBScript 5.0-
ÀζóÀÎ HTML <ELEMENT onresume="handler"> ¸ðµç Ç÷§Æ®Æû
¸í¸íµÈ ½ºÅ©¸³Æ® <SCRIPT for=object event=onresume> Explorer-
À̺¥Æ® Ư¼º
Bubbles ¾øÀ½
Ãë¼Ò ºÒ°¡
¹ß»ý ¿øÀÎ resetElement ¸Þ¼­µå¸¦ È£ÃâÇÏ¿´´Ù.
µðÆúÆ® ÀÛ¿ë ¿¬°üµÈ À̺¥Æ®Ã³¸®ÀÚ¸¦ È£ÃâÇÑ´Ù.

srcElement À̺¥Æ®°¡ ¹ß»ýÇÑ °³Ã¼¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
type À̺¥Æ® °³Ã¼·ÎºÎÅÍÀÇ À̺¥Æ®ÀÇ À̸§(À̺¥Æ®ÀÇ Á¾·ù)¸¦ ¼³Á¤Çϰųª ¹ÝȯÇÑ´Ù.
Ư±â

onresume À̺¥Æ®´Â, body ¿¤·¹¸àÆ®¸¦ Æ÷ÇÔÇÏ¿©, ½Ã°£ÀÌ È°¼ºÈ­µÇ°í ÀÓ½ÃÁßÁö¿¡¼­ ´Ù½Ã½ÃÀ۵Ǵ ¸ðµç ¿¤·¹¸àÆ®¿¡¼­ ¹ß»ýµÈ´Ù.

Àû¿ë
°³Ã¼scriptHTMLIE
ÂüÁ¶
onpause, HTML+time

¿µ¹® SMIL(Synchronized Multimedia Integration Language) ±Ô°ÝÀÇ È®ÀåÀÌ´Ù.


À̺¥Æ® ¿¹Á¦

½Ã°£ ¿ë±â ŸÀÌ¸Ó : 0
À̵¿ °³Ã¼ ŸÀ̹ö : 0

À̵¿ °³Ã¼


°á°ú Ç¥½ÃÀå

onpauseÀ̺¥Æ®µîÀ¸·Î ÀÓÁöÁßÁöµîÀ» µð½ºÇ÷¹ÀÌÇÑ´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<IMPORT namespace="t" implementation="#default#time2">
<STYLE>.time {behavior:url(#default#time2);}</STYLE>
</HEAD>
<BODY>
½Ã°£ ¿ë±â ŸÀÌ¸Ó :
<SPAN id="Timer2" class="time" dur="1" repeatCount="indefinite"
  onrepeat="innerText=parseInt(timeObj.currTimeState.activeTime);">0</SPAN><BR>
À̵¿ °³Ã¼ ŸÀ̹ö :
<SPAN id="Timer3" class="time" dur="1" repeatCount="indefinite"
  onrepeat="innerText=parseInt(aniObj.currTimeState.activeTime);">0</SPAN>
<P></P>
<T:excl id="timeObj" begin="indefinite" dur="9" repeatCount="5"
  onpause="showA.innerHTML='<FONT color=red><B>Àӽà ÁßÁöµÊ !</B></FONT>';"
  onresume="showA.innerHTML='´Ù½Ã °è¼ÓµÊ';"
  onend="showA.innerHTML='Á¾·áµÊ';"
  onbegin="showA.innerHTML='°á°ú Ç¥½ÃÀå';">
<T:ANIMATEMOTION id="aniObj" targetElement="div1" to="300,0" begin="0" dur="5"  autoReverse="true" />
</T:excl>
<DIV id="div1" class="time" style="position:relative;top:5px;left:5px;height:40px;width:100px;
  background-color:yellow;text-align:center;font-size:16;
  border:solid black 1;padding:5">À̵¿ °³Ã¼</DIV>
<P><BR>
<BUTTON id="b1" onclick="timeObj.beginElement();">½Ã°£ ½ÃÀÛ</BUTTON>
<BUTTON id="b2" onclick="timeObj.pauseElement();">Àӽà ÁßÁö</BUTTON>
<BUTTON id="b3" onclick="timeObj.resumeElement();">´Ù½Ã °è¼Ó</BUTTON>
<BUTTON id="b4" onclick="timeObj.endElement();">½Ã°£ Á¾·á</BUTTON>
</P>
<DIV id=showA>°á°ú Ç¥½ÃÀå</DIV>
</BODY>
</HTML>