Topic: Maximizing the screen when a page loads
Share/Save/Bookmark
Description: This allows the page to be maximized upon openning the page.

Note: Sometimes, if you use the script from the Page_Load method, it will affect CSS.  If this is the case, then put it into the page HTML section.  Do not put it in the Header, try the top of the Body tag


Page_Load method


Response.Write("<script language='javascript'>window.moveTo(0,0);window.resizeTo(screen.availWidth, screen.availHeight);</script>");

 

JavaScript in the <body> tag of the page type="text/javascript" language="javascript">   

window.moveTo(0,0);
   

window.resizeTo(screen.availWidth, screen.availHeight);

</
script>

<script