admin管理员组文章数量:1404753
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");
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");
Share
Improve this question
asked Nov 2, 2012 at 9:10
Alex M.Alex M.
431 gold badge2 silver badges6 bronze badges
1 Answer
Reset to default 3The 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./jsref/met_win_open.asp
本文标签: javascriptChild window fullsize in ChromeStack Overflow
版权声明:本文标题:javascript - Child window full-size in Chrome - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744849529a2628413.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论