开发者

google chrome not following window open parameters

I use the following to open a new window in a browser.

For some reason Google Chrome (11.0.696.65) doesn't use the parameters, specifically the menubar and toolbar ones which are important. Without them th开发者_如何学Goe user can't print preview the page, for example. It works fine in IE, Firefox and Safari. Any ideas?

function myopen(filename,windowname) {
    var mywindow;
    mywindow = window.open(filename,windowname,'width=1000,height=640,scrollbars=yes,resizable=yes,toolbar=yes,menubar=yes');
    mywindow.focus();
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜