asp.net - Need Javascript to open a web page in full screen after logging in -


i have 1 login.aspx page 1 master page(master.master). when click on login button, web page should view in full screen mode.this should happens automatically when user credentials correct.master page should open in full screen mode.

i don't want in new window(pop window). don't want ask user press f11.it should work

in browsers.(mainly in firefox , internet explorer)

i tried below codes. not working fine. please correct code or suggest me new code.

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

i wrote in master.master aspx page.

regards,

nj

use window.location instead window.open

window.location="page.php"; 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -