var popupWidth = 600;
var popupHeight = 182;
var popupX = (window.screen.width / 2) - (popupWidth / 2);
//만들 팝업창 width 크기의 1/2 만큼 보정값으로 빼주었음
var popupY= (window.screen.height / 2) - (popupHeight / 2);
//만들 팝업창 height 크기의 1/2 만큼 보정값으로 빼주었음
function id_s(){
window.open('/member/id_search.jsp', 'd', 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY);
}
function pass_s(){
window.open('/member/pass_search.jsp', 'd', 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY);
}
function popupCenter(){
window.open('/member/pass_search.jsp', 'd', 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY);
}
status= no 상태바를 보여줄지 지정
'프로젝트 > 첫번째 jsp eclipes html 을 활용한..' 카테고리의 다른 글
회원수정 admin - member -list.jsp (0) | 2023.01.31 |
---|---|
관리자 페이지 (0) | 2023.01.31 |
아이디 찾기 비밀번호 찾기 header ,id_search,pass_search (0) | 2023.01.30 |
아이디 중복체크하기 (0) | 2023.01.30 |
로그인 login login_ok logout (0) | 2023.01.30 |
댓글