현재 엘레멘트의 모체 시간용기를 반환한다.
![]() | Script | [oVal=]object.timeParent |
HTML | 없음 |
timeParent 속성값은 현재 엘레멘트의 모체 시간용기를 개체이다.
이 속성은 읽기전용이며 디폴트값은 없다.
timeParent 속성은 시간속성들을 얻고 HTML+time 개체 모델에 항해할 수있는 엘레멘트 개체(ITIMEElement)를 반환한다. 이는 id, style등 HTML 속성들에 사용되는 IHTMLElement 개체를 반환하지 않는다.
개체 | script | HTML | 규격 | IE |
---|---|---|---|---|
animate | [oVal=]animate.timeParent | 없음 | 없음 | IE5.5(win32) |
animateColor | [oVal=]animateColor.timeParent | 없음 | 없음 | IE5.5(win32) |
animateMotion | [oVal=]animateMotion.timeParent | 없음 | 없음 | IE5.5(win32) |
animation | [oVal=]animation.timeParent | 없음 | 없음 | IE5.5(win32) |
audio | [oVal=]audio.timeParent | 없음 | 없음 | IE5.5(win32) |
img | [oVal=]img.timeParent | 없음 | 없음 | IE5.5(win32) |
media | [oVal=]media.timeParent | 없음 | 없음 | IE5.5(win32) |
par | [oVal=]par.timeParent | 없음 | 없음 | IE5.5(win32) |
ref | [oVal=]ref.timeParent | 없음 | 없음 | IE5.5(win32) |
seq | [oVal=]seq.timeParent | 없음 | 없음 | IE5.5(win32) |
set | [oVal=]set.timeParent | 없음 | 없음 | IE5.5(win32) |
time2 | [oVal=]time2.timeParent | 없음 | 없음 | IE5.5(win32) |
video | [oVal=]video.timeParent | 없음 | 없음 | IE5.5(win32) |
이 속성은 (영문)SMIL 2.0(Synchronized Multimedia Integration Language)에 Microsoft가 확장한 것이다.
![]() | timeParent 속성⇒ | ![]() | ![]() ![]() ![]() |
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <IMPORT namespace=t implementation="#default#time2" /> <STYLE>.time{ behavior: url(#default#time2);}</STYLE> <SCRIPT> window.onload=initAction; function initAction(){ window.setInterval(fnUpdateTimes,100); } function fnUpdateTimes(){ parentObj=aniMoObj.timeParent; str='parentObj.dur='+parentObj.dur+'<BR>'; str+='parentObj.currTimeState.activeTime='+parentObj.currTimeState.activeTime+'<BR>'; showA.innerHTML=str; } </SCRIPT> <DIV id="div1" class="time" style="position:relative;top:0;left:0;height:50;width:100;background-color:pink;"></DIV> <T:EXCL class="time" begin="0" dur="indefinite"> <T:ANIMATEMOTION id="aniMoObj" targetElement="div1" to="375,0" begin="0" dur="3" autoReverse="true" repeatCount="indefinite"/> </T:EXCL> <DIV id=showA></DIV> <BUTTON onclick="parentObj.beginElement()">모체를 다시 시작</BUTTON> <BUTTON onclick="parentObj.dur='20';">모체 지속시간 설정(20초)</BUTTON>
![]() | timeParent 속성 | ⇒ | ![]() ![]() |
최종 수정: 04/05/2025 18:51:50 | ![]() All right reserved | 비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다. 오류가 나면 정상적 접속으로 시도해 보세요. | http://koxo.com/lang/js/property/timeParent.html |