jQuery: Open/request Fullscreen browser on load?
问题 I have a page with a div #container which I would like to have go into full screen mode (or at least request to go into full screen mode) on supported browsers. I downloaded this plugin and although the example all show using a button to enter fullscreen, I'd like to do it on load. I tried: $(window).load(function() { if($.support.fullscreen){ $('#container').fullScreen(); } }); It passes the support test (Chrome 28) but nothing happens. What am I missing? 回答1: It would seem, after further