我想设定IE的大小,总是有缺憾。
我想设定IE的位置,大小,我用下面代码
window.open('www.netease.com','','left=256,top=0,outerWidth=1024,outerHeight=768,location,status,toolbar');
可是这段代码对IE不起作用.
window.open('www.netease.com','','left=256,top=0,Width=1024,Height=768,location,status,toolbar');
设定的是IE除出菜单,地址栏,工具栏后的大小.
var newWin=window.open();
newWin.location="http://www.netease.com";
newWin.resizeTo(1024,768);
newWin.MoveTo(0,0);
这段代码只对IE5.5以上的起作用.
不知各位有没有更好的办法?