469,317 Members | 1,985 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,317 developers. It's quick & easy.

Maximize Web form on load or when starts the application

i got the following code from the forums but it not give the same effect like clicking maximize button

<script language="javascript">
window.moveTo(0,0);
window.resizeTo(screen.width, screen.height);
</script>


Please let me know if there is any other method to maximize web form that give same effect like clicking maximize button on browser.
Dec 20 '07 #1
2 2110
shweta123
692 Expert 512MB
Hi,

You can also use window.open() method to open the window in maximize mode.
Please refer this Article for more details.

i got the following code from the forums but it not give the same effect like clicking maximize button

<script language="javascript">
window.moveTo(0,0);
window.resizeTo(screen.width, screen.height);
</script>


Please let me know if there is any other method to maximize web form that give same effect like clicking maximize button on browser.
Dec 20 '07 #2
Hi,

You can also use window.open() method to open the window in maximize mode.
Please refer this Article for more details.

Hi Shweta

Thanks for your reply.
As per your message . I tried with window.open() method but it is not working.
Sometimes it started opening to many windows and sometimes nothing happend.
But i do one thing.
i resize the window to fill screen and next when i started it seem to be maximize but not like that we have in browser.
Do you have code for that?
Dec 20 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by lauren quantrell | last post: by
7 posts views Thread by Bhargavan | last post: by
1 post views Thread by Mohan | last post: by
reply views Thread by Andrew Baker | last post: by
3 posts views Thread by guy | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.