Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Javascript Firefox
Hi guys ,
 
I need a Javascript code to make my asp.net page to open just like a user pressing F11.
Belive me i have already tried many thinks and serched on Google for a week without any sucess.
 
I apreciate any help ...
Posted 29-Dec-11 4:13am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I know the solution in c# ( better then JS i think )
 
Page.ClientScript.RegisterStartupScript(this.GetType(),"open","window.open('Index.aspx','','fullscreen=yes');",true);
  Permalink  
Comments
Pelluso Coder at 29-Dec-11 11:39am
   
This is NOT F11 like ! You still have adress bar and title bar !
Andrew Piotrowski at 29-Dec-11 11:49am
   
Yes , you are right. Sorry , i am using this solution in my projects. I found the solution
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Right Solution
 
If I help you - Please rate.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,045
1 DamithSL 4,611
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 29 Dec 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100