엘레멘트의 시간을 중지시킨다.

Scriptobject.endElement()
인수/파라메터
파라메터

파라메터는 없다.

반환값

반환값은 없다.

특기

이 메서드는 지역시간의 엘레멘트의 종료(end) 시간에 도달하였거나, 엘레멘트의 지속 시간(dur)이 종료되었을 때와 같은 작용이 적용된다. 모든 자식 시간 엘레멘트들은 통보되 지역시간에 맞게 진행된다.

endElement 메서드는 onend 이벤트를 발생시킨다.

적용
개체scriptIE
animateanimate.endElement()IE6(win32)
animateColoranimateColor.endElement()IE6(win32)
animateMotionanimateMotion.endElement()IE6(win32)
animationanimation.endElement()IE6(win32)
audioaudio.endElement()IE6(win32)
exclexcl.endElement()IE6(win32)
imgimg.endElement()IE6(win32)
mediamedia.endElement()IE6(win32)
parpar.endElement()IE6(win32)
refref.endElement()IE6(win32)
seqseq.endElement()IE6(win32)
setset.endElement()IE6(win32)
time2time2.endElement()IE5.5(win32)
transitionFiltertransitionFilter.endElement()IE5.5(win32)
videovideo.endElement()IE6(win32)
참조
beginElement, endElementAt, HTML+time

이 메서드는 (영문)SMIL 2.0(Synchronized Multimedia Integration Language)에서 정의되었다.


method
endElement 메서드
endElement</b> 메서드이전페이지로페이지 맨위로페이지 맨아래로
Timer:0
div1은 2초동안 디스플레이된다.
div2는 2초동안 디스플레이된다.

시간 엘레멘트를 endElement 메서드로 종료하고 beginElement 메서드로 시작한다.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<STYLE>.time { behavior:url(#default#time2) }</STYLE>
<IMPORT namespace="t" implementation="#default#time2">
<B>Timer:</B><SPAN id="Timer" class="time" dur=".01" repeatCount="indefinite" fill="hold"
 onrepeat="innerText=parseInt(timeObj.currTimeState.activeTime);">0</SPAN><BR>

<T:excl id="timeObj" repeatDur="indefinite">
<DIV id="div1" class="time" begin="0" dur="2" style="border:solid 1 blue">div1은 2초동안 디스플레이된다.</DIV>
<DIV id="div2" class="time" begin="2" dur="2" style="border:solid 1 red">div2는 2초동안 디스플레이된다.</DIV>
</T:excl>

<BUTTON id="butEnd" onclick="timeObj.endElement()">시간 종료</BUTTON>
<BUTTON id="butBegin" onclick="timeObj.beginElement()">시간 시작</BUTTON>
method
endElement 메서드
견본
이전페이지로페이지 맨위로
최종 수정:
07/04/2025 03:51:18
KoXo Homepage
All right reserved
비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다.
오류가 나면 정상적 접속으로 시도해 보세요.
http://koxo.com/lang/js/method/endElement.html