window.open("popAD.html","","toolbar=1,menubar=1,location=1,scrollbars=1,status=1,width=190,height=190,top=0,left=0,resizable=1,fullscreen=0");
注:
menubar 菜单栏,后边没有s的原因是主流浏览器都只有一个菜单栏吧。
toolbar 工具栏,后边没有s的原因同菜单栏。
location 地址栏,没什么好说的。
scrollbars 滚动条,浏览器一般有两个,垂直和水平滚动条。所以最后有s。
status 状态栏 为什么没有bar,不知道……
width 宽度
height 高度
left 左上角的横坐标
top 左上角的纵坐标
resizable 大小是否可调整。
fullscreen 是否全屏。当设置为1(或yes)全屏时,上边的10个属性会失效。
以上11个属性,在IE上都可用,但其他浏览器,例如火狐,就难说了。
下面给出在IE6和FF3上的试验结果,仅供参考:
menubar IE6 FF3
toolbar IE6 FF3
location IE6
scrollbars IE6
status IE6
width IE6 FF3
height IE6 FF3
left IE6 FF3
top IE6 FF3
resizable IE6
fullscreen IE6