[Jslib] Full Screen

Jeff Dickson jdickson at mti-interactive.com
Wed Feb 21 09:38:54 PST 2007


This is part of what I do to get full kiosk mode. The Screen resolution
had to be set to get it all to work.

 

var MTI_DEBUG = true;

 

function init() {

 

   window.locationbar.visible=false;

   window.toolbar.visible=false;

   window.personalbar.visible=false;

   window.statusbar.visible=false;

 

   // Force resolution

   document.documentElement.setAttribute("width", "1024");

   document.documentElement.setAttribute("height", "768");

 

   if (!MTI_DEBUG) {

      // Main pulldown menu bar

      window.menubar.visible=false;

      BrowserFullScreen();

   }

}

 

Jeff Dickson

________________________________

From: jslib-bounces at mozdev.org [mailto:jslib-bounces at mozdev.org] On
Behalf Of Greg Marine
Sent: Wednesday, February 21, 2007 8:06 AM
To: jslib at mozdev.org
Subject: [Jslib] Full Screen

 

Good Morning,

How do I get full screen to work on Windows. It appears to work just
fine in Linux. But in Windows, the taskbar is still visible. Here is the
code snippet:

var win = new
CommonWindow("chrome://telekast/content/frmTeleprompter.xul", 640, 480);

win.openFullScreen();

I appreciate any help you can give!

God Bless <><
Greg

-- 
Internet Community Church Ministries
http://www.iccnet.org 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/jslib/attachments/20070221/72a3a145/attachment.html 


More information about the Jslib mailing list