PDA

View Full Version : Fullscreen mode onload



uboss
3 Oct 2012, 1:56 AM
Is there an easy way to force browsers to display my ext js 4 app in fullscreen mode onload?

scottmartin
3 Oct 2012, 5:47 PM
Have a look at the following:
http://www.sitepoint.com/html5-full-screen-api/

http://stackoverflow.com/questions/8338736/triggering-full-screen-in-browser-with-javascript
http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/

http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen

There are numerous articles about this online

google: javascript browser full screen

Scott.

MichaelOstrovsky
21 Jan 2013, 12:00 PM
I've combined all the resources i could find , and it seems to work so far :
http://www.sencha.com/forum/showthread.php?254427-Full-screen-mode-methods&p=931397&viewfull=1

T (http://www.sencha.com/forum/showthread.php?254427-Full-screen-mode-methods&p=931397&viewfull=1)his methods, however, works only from a click event handler. there is no way to force full-screen on-load, so the best way is put some maximize/minimize button which will trigger it.