01-14-2012, 04:06 PM
(1) Initially I need to identify and save the current browser settings (e.g. position, height, width, caption on or off, menubar on or off, border on or off).
(2) Then I need to change the appearance of the browser to full screen, no border, no caption, no status bar, no menubar).
(3) Finally, I need to return the browser to the initial settings using the settings saved at the beginning.
01-14-2012, 04:39 PM
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
01-14-2012, 05:06 PM
you can get details of the user's screen with the screen object (http://www.w3schools.com/jsref/obj_screen.asp) and control any window that your code opens (and could be blocked by pop-up blockers) using window.open() (http://www.w3schools.com/jsref/met_win_open.asp) but controlling the window that the user opened? No.
01-14-2012, 05:48 PM
That is not good news to hear that no program permits the change of a browser's appearance.
If it is not possible to alter the appearance of a browser, then is it possible to open a new browser full screen with everything (i.e. caption bar, menu bar, status bar, browser border) turned off?
01-14-2012, 06:04 PM
yes - did you look at this link I sent you?
01-14-2012, 06:16 PM
Although it is possible, it is a pretty sure way to ensure that any visitor clicks on the red X and never returns to your site.
What legitimate reason do you have for wanting to do this?
01-14-2012, 06:48 PM
I'm almost there with the following statement:
window.open("", "", "fullscreen=yes, location=no, status=no, titlebar=no, toolbar=no, scrollbars=no", "false")
Using Firefox the name of the browser in a caption appears on the left and on the right are the 3 minimize, /restore/maximize, and close buttons still appear. Can anyone see what I left out or incorrectly set that results in these item to appear at the top of my otherwise blank, full screen?
01-14-2012, 06:55 PM
“Although it is possible, it is a pretty sure way to ensure that any visitor clicks on the red X and never returns to your site.
What legitimate reason do you have for wanting to do this?”
The browser will not be blank. I will load a full screen application complete with editable text fields. I need to use the entire screen.
01-14-2012, 06:59 PM
What legitimate reason do you have for concealing the minimize/restore/close buttons?
In IE you will lock up the screen so that the user must invoke Task Manager to get away. That is simply vandalism.
Be aware that all modern browsers block unrequested popups and new windows.
01-14-2012, 07:17 PM
You have a valid point. It may be that the top line needs to remain so that the window can be closed in an unplanned error condition.
For years I have been using an application called ToolBook to launch full screen browser apps. For my apps it has been rare when such an error has occurred. Now I am migrating to Flash Builder. I am unsure of the stability of content produced with that application's performace.
"Be aware that all modern browsers block unrequested popups and new windows."
It is common practive for the button that launched the full screen to say "If the full screen window does not appear hold the Ctrl key down and click the button again".
01-14-2012, 08:47 PM
Some browsers have completely disabled your ability to turn certain features of new windows off and most browsers give you the ability to specify that all new window requests are to open in a new tab of the existing window. Any requests for how a new window should look are suggestions that are likely to be overridden by most visitors - particularly if you are attempting to stop them doing something with their own browser.
Attempting to override browser functioning will only drive those using antiquated browsers away from your site as those using modern browsers will not even be aware of your attempt as their browser will have automatically discarded that part of your code.