unction fnPopup() {
    var popupOption = 'directories=no, toolbar=no, location=no, menubar=no, status=no, scrollbars=no, resizable=no, left=400, top=200, width=440, height=550';
    window.open(URL, name, popupOption);
}

function fnClose() {
    window.opener.location.href = URL;
    window.close();
}


참고 :
http://www.w3schools.com/jsref/met_win_open.asp






http://hangaebal.blogspot.kr/2014/11/javascript-popup-window-open-and-close.html

+ Recent posts