Click here to Skip to main content
12,405,868 members (68,276 online)
Rate this:
 
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 3: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 29-Dec-11 11:39am
   
This is NOT F11 like ! You still have adress bar and title bar !
Andrew Piotrowski 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
Top Experts
Last 24hrsThis month


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