Jump to content

window.open(URL, name, specs, replace)


dariussiriuse

Recommended Posts

Hello, 

I am working on a test project, I would like to understand how the "fullscreen=yes|no|1|0"  from the "specs" part works... I have read on the internet that this option doesn't works(?), but since it is on w3 there must be a way to make it work... Could someone please give me an example of code showing the proper way of using this? Because from the code I have I just can't manage to do it... 

Here is a partial code of what I have, it does open the page that I want, but just won't do it in fullscreen mode...

var myWindow;

function openWin() {
  myWindow = window.open("dummy.html", "", "fullscreen=yes", "");
}

Many thanks!

dariussiriuse

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...