语法:
window.open(url、窗口名称、参数字符串...)
url指‘网址’
窗口名称:_blank:新建一个指定的URL窗口
_self:更换当前的并显示窗口
_top: 框架网页中在上部窗口中显示目标网页
参数字符串:
参数 值 说明
width number 窗口宽度
height number 窗口高度
menubar yes and no 窗口是否有菜单
toolbar yes and no 窗口是否有工具条
scrollbars yes and no 窗口是否有滚动条
startus yes and no 窗口是否状态栏
以上是常用的参数字符串