웹&컴퓨팅

window.open

x2chi 2007. 6. 19. 18:09
반응형
SMALL

window.open 이란 main window에서 subwindow를 띄우는 역활을 합니다.


사용방법

  window.open(화면.html, window명, 옵션);


window.open의 method

Attribute

_NN_

_IE_

Description

alwaysLowered

4

n/a

Always behind all other browser windows. Signed script required.

alwaysRaised

4

n/a

Always in front of all other browser windows. Signed script required.

channelMode

n/a

4

Show in theater mode with channel band.

copyhistory

2

n/a

Copy history listing from opening window to new window.

dependent

4

n/a

Subwindow closes if the window that opened it closes.

directories

2

3

Display directory buttons.

fullscreen

n/a

4

Display no titlebar or menus.

height

2

3

Window interior height in pixels.

hotkeys

4

n/a

Disable menu keyboard shortcuts (except Quit and Security Info).

innerHeight

4

n/a

Content region height. Signed script required for very small measures.

innerWidth

4

n/a

Content region width. Signed script required for very small measures.

left

6

4

Offset of window's left edge from left edge of screen.

location

2

3

Display Location (or Address) text field.

menubar

2

3

Display menu bar (a menu bar is always visible on Mac, letting users hide or show some chrome at will).

outerHeight

4

n/a

Total window height. Signed script required for very small measures.

outerWidth

4

n/a

Total window width. Signed script required for very small measures.

resizable

2

3

Allow window resizing (always allowed in NN 4 and earlier on the Mac).

screenX

4

n/a

Offset of window's left edge from left edge of screen. Signed script required to move window off screen.

screenY

4

n/a

Offset of window's top edge from top edge of screen. Signed script required to move window off screen.

scrollbars

2

3

Display scrollbars if document is too large for window.

status

2

3

Display status bar.

titlebar

4

n/a

Display titlebar. Set this value to no to hide the titlebar. Signed script required.

toolbar

2

3

Display toolbar (with Back, Forward, and other buttons).

top

6

4

Offset of window's top edge from top edge of screen.

width

2

3

Window interior width in pixels.

z-lock

4

n/a

New window is fixed below browser windows. Signed script required.


반응형
LIST

'웹&컴퓨팅' 카테고리의 다른 글

JavaScript  (0) 2007.06.19
Internal Coding Guidelines  (2) 2007.06.19
윈도우에서 PHP5와 apache2 연동  (2) 2007.06.19
초보도 알아야 할 MySQL 튜닝 18 가지  (5) 2007.06.17
프로그래머 서열(?)  (3) 2007.06.14