APEX-AT-WORK no image

Open your browser window in fullscreen mode

Von Tobias Arnhold 4.07.2010
I answered a question in the APEX forum about an automatic full screen mode for your APEX application.

There are a couple of ways how you can achieve this. Anyway there is no simple solution and each way has some bad sides too.

Solution 1: Use a temporary HTML page to open your application window

<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>
<BODY>
<script type="text/javascript">
window.opener=self;
// fullscreen only
window.open('http://YOUR_URL','','fullscreen=yes');
// fullscreen with no bars inside your browser
window.open('http://YOUR_URL','','fullscreen=yes,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes');
window.close();
</script>
</BODY>
</HTML>

Solution 2: Use ActiveX (IE only)

<HTML>
<HEAD>
<script type="text/javascript">
function fnc_fullscreen()
{
var obj = new ActiveXObject("Wscript.shell");
obj.SendKeys("{f11}");
}
</script>
</HEAD>
<BODY onload="javascript:fnc_fullscreen()">

</BODY>
</HTML>

Solution 3: Set size after max screen size (not good for two screens, not tested yet)

<HTML>
<HEAD>
<script type="text/javascript">
function fnc_fullscreen()
{
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);
}
</script>
</HEAD>
<BODY onload="javascript:fnc_fullscreen()">

</BODY>
</HTML>

Source: http://www.webmasterworld.com/webmaster/3792262.htm

If you found a better way fixing this issue. I would really like to hear it.

Post Tags:

3 Comments " Open your browser window in fullscreen mode "

Gigi 08 April, 2010 15:03

Hi Tobias,
to lauch Apex we are use a hta file.

I can not enter the code in the comment but you can see it in the forum:
http://forums.oracle.com/forums/thread.jspa?messageID=4218492#4218492

Gianluigi

fac586

Create a Site Specific Browser (SSB) app using Fluid or Prism. These give you a standard start-up icon, let you control window chrome and customise the controls available to users, among other things.

I've set up the APEX builder as a Fluid app: APEX icon in the Dock, never gets confused with other browser windows, minimal chrome with nothing unnecessary for APEX.

fac586

Create a Site Specific Browser (SSB) app using Fluid or Prism. These give you a standard start-up icon, let you control window chrome and customise the controls available to users, among other things.

I've set up the APEX builder as a Fluid app: APEX icon in the Dock, never gets confused with other browser windows, minimal chrome with nothing unnecessary for APEX.