window.open()

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

請您先登陸,再發跟帖!