엘레멘트의 시간이 일시중지(pause)하면 발생된다.


이벤트 속성
object.onpause=handler JScript 만-
object.onpause=GetRef("handler") VBScript 5.0-
인라인 HTML <ELEMENT onpause="handler"> 모든 플랫트폼
명명된 스크립트 <SCRIPT for=object event=onpause> Explorer-
이벤트 특성
Bubbles 없음
취소 불가
발생 원인 pauseElement 메서드를 호출한다.
디폴트 작용 연관된 이벤트처리자를 호출한다.

event
onrepeat 이벤트
onrepeat</b> 이벤트
견본
이전페이지로페이지 맨위로페이지 맨아래로
srcElement 이벤트가 발생한 개체를 반환하거나 설정한다.
type 이벤트 개체로부터의 이벤트의 이름(이벤트의 종류)를 설정하거나 반환한다.
특기

onpause 이벤트는 body 엘레멘트를 포함하여 활성 중에 있는 각 엘레멘트에서 일시중지하면 발생한다.

적용
개체scriptHTMLIE
animateanimate.onrepeat=sCode<t:ANIMATE onrepeat=sCode>IE5.5(win32)
animateColoranimateColor.onrepeat=sCode<t:ANIMATECOLOR onrepeat=sCode>IE5.5(win32)
animateMotionanimateMotion.onrepeat=sCode<t:ANIMATEMOTION onrepeat=sCode>IE5.5(win32)
animationanimation.onrepeat=sCode<t:ANIMATION onrepeat=sCode>IE5.5(win32)
audioaudio.onrepeat=sCode<t:AUDIO onrepeat=sCode>IE5.5(win32)
imgimg.onrepeat=sCode<t:IMG onrepeat=sCode>IE5.5(win32)
mediamedia.onrepeat=sCode<t:MEDIA onrepeat=sCode>IE5.5(win32)
parpar.onrepeat=sCode<t:PAR onrepeat=sCode>IE5.5(win32)
refref.onrepeat=sCode<t:REF onrepeat=sCode>IE5.5(win32)
seqseq.onrepeat=sCode<t:SEQ onrepeat=sCode>IE5.5(win32)
setset.onrepeat=sCode<t:SET onrepeat=sCode>IE5.5(win32)
time2time2.onrepeat=sCode없음IE5.5(win32)
transitionFiltertransitionFilter.onrepeat=sCode<t:TRANSITIONFILTER onrepeat=sCode>IE6(win32)
videovideo.onrepeat=sCode<t:VIDEO onrepeat=sCode>IE5.5(win32)
참조
onresume, HTML+time

영문 SMIL(Synchronized Multimedia Integration Language) 규격의 확장이다.


event
onrepeat 이벤트
onrepeat</b> 이벤트
속성
이전페이지로페이지 맨위로페이지 맨아래로

onrepeat 이벤트 예제

시간 용기 타이머 : 0
이동 개체 타이버 : 0

이동 개체


결과 표시장

onpause 이벤트등으로 임지중지등을 디스플레이한다.

<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>
시간 용기 타이머 :
<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>
event
onrepeat 이벤트
속성견본
이전페이지로페이지 맨위로
최종 수정:
05/09/2025 18:39:11
KoXo Homepage
All right reserved
비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다.
오류가 나면 정상적 접속으로 시도해 보세요.
http://koxo.com/lang/js/event/onpause.html