Click here to Skip to main content
11,416,787 members (68,110 online)
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 Sergey Alexandrovich Kryukov 9,270
1 OriginalGriff 7,512
2 Maciej Los 3,710
3 Abhinav S 3,324
4 Peter Leow 3,084


Advertise | Privacy | Mobile
Web01 | 2.8.150427.4 | Last Updated 29 Dec 2011
Copyright © CodeProject, 1999-2015
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