Open a full screen html page but not from a second asp page.

Posted on 2005-03-09
Medium Priority
Last Modified: 2012-08-13
Using IE6.0

Can anyone tell me how to open a full screen window of a page.  I open a full screen page using this code:


But it only works when you are calling the page from another page.  I have a Main Menu page that needs to be full screen from the beginning.

I tried:

Sub Window_OnLoad()
window.open "Menu_main.asp","Welcome","fullscreen=1"
end sub


Sub Window_OnLoad()
end sub

They don't work.

Thanks for you help
The Firebird
Question by:BirdsOfFire1
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 13500105
This could work...automatically popping up a new window fullscreen when the page is viewed.

<body onLoad="window.open('Menu_main.asp','fs','fullscreen=yes')">
LVL 53

Accepted Solution

COBOLdinosaur earned 375 total points
ID: 13500175

You cannot control the users setting. The only windows you can control the setting on are the ones you open in Javascript.  Quite frankly I can't imagine anyone who would use a browser that let you do that to them.

If it is for a website you are out of luck.  If it is for an intranet app in an IE environment.  You can use activeX or perhaps you can do it with an hta.


Author Comment

ID: 13500336
To: D4Ly

I tried this and got an error.
<body onLoad="window.open('Menu_main.asp','fs','fullscreen=yes')">

The error I got was:

Cannot use parentheses when calling a Sub

I probably will have to do it with HTA.

If you can think of anything else, let me know.  I will be back with you all on this subject.

The Firebird

Expert Comment

ID: 13500403
BirdsOfFire1 -

My suggestion works in IE6.x for the following scenario:
-your site is www.example.com
-You type that site into the address bar.
-The homepage loads (preferably a splash page of some sort (which most FS sites have as a homepage to work around the very problem you're having IF this is for the internet))
-In the source for this homepage your open body tag looks like:
<body onLoad="window.open('Menu_main.asp','fs','fullscreen=yes')">
causing a new, fullscreen window to pop up.
-The original browser window will still be intact, holding your splash page (which you should probably put a link fo the popup as well for FF people like me :o)

Perhaps your question was unclear (in regards to your intentions...internet vs. intranet).

In any event GL!

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question