Need Javascript to open a web page in full screen after logging in
<p>I have one login.aspx page one master page(Master.master). When I click on login button, my web page should view in full screen mode.This should happens automatically when user credentials  are correct.Master page should open in full screen mode.</p>

<p>I don't want it in new window(pop up window). I don't want to ask user press F11.It should work</p>

<p>in all browsers.(mainly in firefox and Internet Explorer)</p>

<p>I tried with below codes. But it is not working fine. Please correct my code or suggest me new code.</p>

<pre><code>&lt;script language="javascript"&gt; 
function fullscreen() 
{ 
window.open('page.php','kyscorp','width='+screen.width+',height='+screen.height+',top=0,left=0'); 
} 
&lt;/script&gt;
</code></pre>

<p> </p>

<p>I wrote in Master.master aspx page.</p>

<p>Regards,</p>

<p>nj</p>
