I would like to open my html page in fullscreen mode. I tried to execute this javascript in body's onload event handler.
window.fullScreen = true;
But unfortunately that doesn't seem to be working. Is there any other way with which we can achieve the same.
I dont think you can set the windows properties by using the onload event. Try setting the properties as you open the window. This should work...
<div onclick="window.open('http://stackoverflow.com', 'Stackoverflow' , 'type=fullWindow, fullscreen, scrollbars=yes');">
Hello Stackoverflow!
</div>