Click here to Skip to main content
12,694,121 members (34,495 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


3 bookmarked

How to open your web application in Full Screen mode in IE

, 11 Jun 2013 CPOL
Rate this:
Please Sign up or sign in to vote.
Trick to open your web application in full screen mode in IE.


Today I was converting an old Windows based application to a web application and I thought of giving users the same feel as if they are using a Windows application. Thus I came to the requirement of opening a web application in full screen mode. I found a very elegant solution that I am sharing here.

Using the Code

Create a start page in your web application and set it as the startup page. In the start page, add the following Javascript. This script basically opens the web page in full screen mode and closes and starts the original start page.

<script language="javascript" type="text/javascript">"Login.aspx", "secondWindow", 

//set new window as the opener to bypass alert
window.opener = 'secondWindow';

//close original window that was the inital opener without alert

Points of Interest

  • This works perfectly in IE. 
  • In Firefox it does not get rid of the address bar.
  • In Google Chrome this does not work as it shows a popup blocker message.


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


About the Author

Software Developer (Senior)
Australia Australia
I am currently working as a Software Developer in .NET technologies.

Languages & Technologies I have worked on so far:

Pascal ... My first programming steps..
8085 Assembler ... Amazing how it all works internally in computer brain... "intel inside"
C... missing my point(er)....
C++... Its all about classes ...
LISP ... Did I missed any parenthesis ?
VB... Oh dear... Just like a war stories.. those are the days
Java... I learn to program this in notepad...
C#... Oh what a smooth sailing...
ASP.NET... web is the future ...
Oracle ... Not the one from "The Matrix"...
MSSQL... select Programming from Universe where StartTime >='BigBang'
Wireless Sensor Networks ... Look who is talking too ?

You may also be interested in...


Comments and Discussions

GeneralMy vote of 4 Pin
Jhonathan Izquierdo11-Jun-13 5:31
memberJhonathan Izquierdo11-Jun-13 5:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 11 Jun 2013
Article Copyright 2013 by virang_21
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid