Jump to content

How to open a new window maximized


umekille78

Recommended Posts

Hi all!I use this JS to open a new window:

window.open('','Chatt','status=no,toolbar=no,menubar=no,location=no,resizable=yes');

This gives a new window that is full size. But not maximised. Is there some way to get the new windo to open in maximised mode?/Per

Link to comment
Share on other sites

I don't think you can set it to maximised, you can use fullscreen but that only shows the web page (no address bar etc).This is the best i can think of.<input type="button" value="button" onclick="window.open('http://www.google.com','Chatt','top=0,left=0,height='+screen.height+',width='+screen.width+',status=no,toolbar=no,menubar=no,location=no,resizable=yes');" />

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...