window.open()


Opens a new window.

Syntax

window.open("URL", "name" [, "windowfeatures"])
 

Parameters

URL is a string that points to the window you want to open.

name is a string that names the new window.

windowfeatures is one or more of the following in a comma-separated list:

toolbar
 
Toolbar is present
 
location
 
Locationbar is present
 
directories
 
 
status
 
 
menubar
 
XXX have to update this whole list XXX
 
scrollbars
 
 
resizable
 
 
copyhistory
 
 
width
 
 
height
 
 

Example

window.open("btest2.html", "bwin", "toolbar,status");
 
文章標籤
全站熱搜
創作者介紹
創作者 Kyle 的頭像
Kyle

 ღ 

Kyle 發表在 痞客邦 留言(0) 人氣(328)