javascript - Child window full-size in Chrome - Stack Overflow

I need to open a child window full-size in Chrome browser, the following code works fine in Firefox 16.

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
Add a ment  | 

1 Answer 1

Reset to default 3

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./jsref/met_win_open.asp

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744849529a4597045.html

相关推荐

  • javascript - Child window full-size in Chrome - Stack Overflow

    I need to open a child window full-size in Chrome browser, the following code works fine in Firefox 16.

    2天前
    60

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信