2016-05-30T13:36:28-04:00
HOW TO EXECUTE FULLSCREEN / F11 USING JAVA SCRIPT ON LOADEVENT
1
2017-10-23T05:41:45-0400
function launchFullScreen() { if(document.documentElement.requestFullScreen) { document.documentElement.requestFullScreen(); } else if(document.documentElement.mozRequestFullScreen) { document.documentElement.mozRequestFullScreen(); } else if(document.documentElement.webkitRequestFullScreen) { document.documentElement.webkitRequestFullScreen(); } } But browsers actually do not allow this to happen in onload, so instead you can do this on any user click. window.onclick = launchFullScreen;
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS !
Learn more about our help with Assignments:
Java JSP JSF
Comments