본문 바로가기

프로그래밍관련/javascript

popup open script


* 팝업 호출

Modal:
showModalDialog(url, null, "dialogWidth:500px; dialogHeight:400px; scroll:no; center:yes; resizeable:no; status:no; help:no");

window(일반):

window.open(url, null, "width=300px,height=500px");

*부모창 객체:

Modal:
-

window:
parent.

*자기자신 객체:

Modal:
self.
[※단, <head><base target="_self"></head> Tag가 삽입되어 있어야 함]

window:
self.

치매예방용;;; ㅡ,.ㅡ;