Child window full-size in Chrome

2019-05-07 05:11发布

I need to open a child window full-size in Chrome browser, the following code works fine in Firefox 16.0.2 and IE 9, but not in Google Chrome 22 . What am I missing?

window.open(href,"_blank","scrollbars=1,fullscreen=yes,status=no,toolbar=no,menubar=no,location=no");

1条回答
贼婆χ
2楼-- · 2019-05-07 05:49

The fullscreen option is supported by IE only ; you are "lucky", FF seems to accept it now, but Google Chrome doesn't support this feature...

You only can force width and height on your popup

http://www.w3schools.com/jsref/met_win_open.asp

查看更多
登录 后发表回答