본문 바로가기

Web Progreming

[PHP] 팝업창 옵션 들..

사용법은 window.open("팝업페이지명","팝업이름","옵션")

width : 팝업창의 가로길이

height : 팝업창의 세로길이

toolbar : 툴바표시 여부

location : 사이트주소란 표시여부

status : 상태표시줄 표시여부

menubar : 메뉴바 표시여부

scrollbars : 스크롤바 유무여부 auto옵션은 자동

resizable : 팝업창 크기변경 여부

left : 좌측으로 부터의 팝업창이 나올 위치지정

top : 위에서부터 팝업창이 나올 위치지정 


ex) window.open('test.html','_blank','width=800,height=700');