Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- WebView
- STS
- MANTIS
- SpringSource Tool Suite
- Android
- javascript
- asp.net
- decompiler
- varags
- TextBox
- jsp
- Apache Lucene
- 컬럼명
- 자바
- Java
- 안드로이드
- MSsql
- Redirect
- 웹 서비스
- Web Service
- 자바스크립트
- 웹뷰
- Maven
- Bootstrap
- Eclipse
- html
- C#
- MS-SQL
- scrollView
- 이클립스
Archives
- Today
- Total
bboks.net™
JavaScript windows.open 옵션 본문
사용법
window.open("URL","창이름",'옵션');
옵션
left : 새창의 x좌표
top : 새창의 y좌표
width : 새창의 가로
height : 새창의 세로
menubar : 파일, 편집, 보기 등의 버튼이 있는 줄
toolbar : 뒤로, 앞으로, 검색, 즐겨찾기 등의 버튼이 나오는 줄
location : 주소창
scrollbars : 스크롤바
status : 창 아래부분 링크주소 나오는 부분
resizable : 창의 크기를 조절 가능 여부
fullscreen : 최대화 창으로 띄움( 이 옵션을 쓰게 되면 width,height,top,left 옵션이 적용안됨)
예제
window.open("test.htm","testWin","left=50, top=50, width=400, height=380, toolbar=no, scrollbars=no, status=no, resizable=no");
[출처] window.open 옵션