autoReverse를 포함하여 엘레멘트의 지속 시간을 초단위로 반환한다.
![]() | Script | [tVal=]currTimeState.segmentDur |
HTML | 없음 |
segmentDur 속성값은 autoReverse를 포함하여 엘레멘트의 지속 시간을 초단위로 나타내는 정수값이다.
이 속성은 읽기전용이며 디폴트값은 없다.
개체 | script | HTML | 규격 | IE |
---|---|---|---|---|
currTimeState | [tVal=]currTimeState.segmentDur | 없음 | 없음 | IE5.5(win32) |
이 속성은 (영문)SMIL 2.0(Synchronized Multimedia Integration Language)에 Microsoft가 확장한 것이다.
![]() | segmentDur 속성⇒ | ![]() | ![]() ![]() ![]() |
문단 1은 다음 엘레멘트가 중단시킬 때까지 지속된다(5초간) 그리고 10초 지속시간동안 회복된다.
문단 2는 5초간 디스플레이된다. 그 후 문단 1이 회복된다.
<HTML XMLNS:t ="urn:schemas-microsoft-com:time"> <HEAD> <IMPORT namespace="t" implementation="#default#time2"> <SCRIPT> function showDur(){ s1.innerText=d1.currTimeState.segmentDur; s2.innerText=d2.currTimeState.segmentDur; } </SCRIPT> <STYLE>.time{ behavior: url(#default#time2);}</STYLE> </HEAD> <BODY> <t:EXCl id="t1" onbegin="showDur();"> <t:PRIORITYCLASS peers="pause"> <SPAN id="d1" class="time" begin="0" dur="10" style="background-color:ffc"> <P>문단 1은 다음 엘레멘트가 중단시킬 때까지 지속된다(5초간) 그리고 10초 지속시간동안 회복된다.</P> </SPAN> <SPAN id="d2" class="time" begin="5" dur="5" style="background-color:cff"> <P>문단 2는 5초간 디스플레이된다. 그 후 문단 1이 회복된다.</P> </SPAN> </t:PRIORITYCLASS> </t:EXCL><BR> 문단 1의 지속시간 d1.currTimeState.segmentDur=<B><SPAN id="s1"></SPAN></B> 초<BR> 문단 2의 지속시간 d2.currTimeState.segmentDur=<B><SPAN id="s2"></SPAN></B> 초<BR> <BUTTON onclick="exclObj.beginElement()">다시 시작</BUTTON> </BODY> </HTML>
![]() | segmentDur 속성 | ⇒ | ![]() ![]() |
최종 수정: 05/29/2025 04:47:41 | ![]() All right reserved | 비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다. 오류가 나면 정상적 접속으로 시도해 보세요. | http://koxo.com/lang/js/property/segmentDur.html |