개체가 소속된 최상위 윈도우를 반환한다.
![]() | Script | [oVal=]window.top |
HTML | 없음 |
이 속성은 읽기전용이며 디폴트값은 없다.
개체 | script | HTML | 규격 | IE |
---|---|---|---|---|
window | [oVal=]window.top | 없음 | 없음 | IE3.02(win16,win32,mac),IE4.0(ce,unix) |
![]() | top 속성⇒ | ![]() | ![]() ![]() ![]() |
<SCRIPT> str='window.top.frames.length='+window.top.frames.length+'<BR>'; str+='top.frames.length='+top.frames.length+'<BR>'; str+='top.location='+top.location+'<BR>'; str+='top.frames[1].name='+top.frames[1].name+'<BR>'; str+='top.frames[1].frames[1].name='+top.frames[1].frames[1].name+'<BR>'; document.write(str); </SCRIPT>
![]() | top 속성 | ⇒ | ![]() ![]() |
최종 수정: 04/05/2025 16:43:06 | ![]() All right reserved | 비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다. 오류가 나면 정상적 접속으로 시도해 보세요. | http://koxo.com/lang/js/property/top_window.html |