Web form maximize

  • Thread starter Thread starter mac
  • Start date Start date
M

mac

Hi!

Is there anyone knows on how to maximze the Web form during run
time?
please help me to the code of what im going to do with this.


Thanks and Best Regards
 
Hi Mac,
use this JavaScript

<SCRIPT LANGUAGE="JavaScript">

function Minimize()
{
window.innerWidth = 100;
window.innerHeight = 100;
window.screenX = screen.width;
window.screenY = screen.height;
alwaysLowered = true;
}

function Maximize()
{
window.innerWidth = screen.width;
window.innerHeight = screen.height;
window.screenX = 0;
window.screenY = 0;
alwaysLowered = false;
}
</SCRIPT>
 
You can't maximize the browser window using code.

You can change the size of the browser windows, as Prakash V showed, but
even that doesn't work in all browsers. Some browsers give the user the
oportunity to disallow changing of the window size and similar features
that are often misused.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top