현재 엘레멘트의 모체 시간용기를 반환한다.

Script[oVal=]object.timeParent
HTML없음
인수
oVal : (속성 개체)

timeParent 속성값은 현재 엘레멘트의 모체 시간용기를 개체이다.

이 속성은 읽기전용이며 디폴트값은 없다.

특기

timeParent 속성은 시간속성들을 얻고 HTML+time 개체 모델에 항해할 수있는 엘레멘트 개체(ITIMEElement)를 반환한다. 이는 id, style등 HTML 속성들에 사용되는 IHTMLElement 개체를 반환하지 않는다.

적용
개체scriptHTML규격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)
참조
HTML+time, timeAll, timeChildren

이 속성은 (영문)SMIL 2.0(Synchronized Multimedia Integration Language)에 Microsoft가 확장한 것이다.


property
timeParent 속성
timeParent</b> 속성이전페이지로페이지 맨위로페이지 맨아래로
<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>
property
timeParent 속성
견본
이전페이지로페이지 맨위로
최종 수정:
04/05/2025 18:51:50
KoXo Homepage
All right reserved
비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다.
오류가 나면 정상적 접속으로 시도해 보세요.
http://koxo.com/lang/js/property/timeParent.html