Javascript - window.open() Syntax Generator
Javascript - window.open() 語法產生器

Syntax: window.open('URL','name','specs','replace');
語法: window.open('URL','視窗名稱','參數設定','記錄設定');

Parameter
參數
select
勾選
Value
設定值
Description
說明
URL - Specifies the URL of the page to open. If no URL is specified, a new window with about:blank is opened.
URL
name - Specifies the target attribute or the name of the window.
視窗名稱
name
The name of the window.
specs - Separated by comma.
參數設定 - 以逗號分隔。
channelmode Display the window in theater mode?
directories Display directory toolbar?
是否顯示目錄列
fullscreen Display the browser in full-screen mode? A window in full-screen mode must also be in theater mode.
全螢幕顯示?
height The height of the window. Min. value is 100.
新視窗高度,最小值是 100。
left The left position of the window
新視窗的 X 座標。
location Display the address field?
顯示位址列?
menubar Display the menu bar?
顯示功能表?
resizable IS the window resizable?
是否允許調整視窗大小?
scrollbars Display scroll bars?
顯示視窗捲軸?
status Display status bar?
顯示狀態列?
titlebar Display the title bar. Ignored unless the calling application is an HTML Application or a trusted dialog box.
顯示標題列?
toolbar Display the browser toolbar?
是否顯示視窗工具列?
top The top position of the window.
新視窗的 Y 座標。
width The width of the window. Min. value is 100.
新視窗寬度,最小值是 100。
replace - Specifies whether the URL creates a new entry or replaces the current entry in the history list.
記錄設定 - 新視窗是否繼承原視窗之瀏覽記錄。
replace  
 >>   

參考資料: http://www.w3schools.com/

<<<HOME

Valid XHTML 1.0 Transitional  Valid CSS!