window.open()

来源: 2006-09-21 07:50:18 [旧帖] [给我悄悄话] 本文已被阅读:

To open a new window in JS, use

window.open('url', 'name', 'attr1,attr2',...attrn')
url: addr of the page in the new window
name: name of the new window
attributes:
width=val
height=val
resizable=yes|no
scrollbars=yes|no
toolbar=yes|no
location=yes|no
directories=yes|no
status=yes|no
menubar=yes|no
copyhistory=yes|no