Skip to content Skip to sidebar Skip to footer

Need To Display Hosted Html Page In Full Screen On Page Load

I am developing a GWT web application and for a specific requirement I need to display my only hosted html page in full screen on load. This we done with the help of pressing F11 o

Solution 1:

You can't force the user on how to display your document. Still, there's a Draft for a fullscreen api, see also https://developer.mozilla.org/en/DOM/Using_full-screen_mode

Solution 2:

I think you will need to use the page you load to launch a new browser window with the fullpage html in it. The first page is nothing but to kick off the full page with a script like this

<script><!--
window.open("fullpage.html","fs","fullscreen=yes")
//--></script>

Post a Comment for "Need To Display Hosted Html Page In Full Screen On Page Load"