Skip to content

Iframe 이용시 Iframe 페이지만 호출금지

MintState November 17, 2008 at 12:21 PM Views 13551

Iframe 이용시 Iframe 페이지만 호출금지

Iframe 이용시에 Iframe 페이지만 독자적으로 보는 경우 다시 리로드 해서 Parent 페이지도 보이게 한다.

<SCRIPT language=javascript>
	var undefined
		if ( parent.document.frames['ifrm'] == undefined || parent.document.frames['ifrm'] == "undefined" ){

		window.location.replace("/Parent.html");
		}else{
						
		}
</SCRIPT>
Share X Facebook LINE QR code

0 comments

Be the first to comment.