[Jslib] Full Screen

Greg Marine gregmarine at gmail.com
Wed Feb 21 10:40:23 PST 2007


Thank you for your reply. However, I forgot to mention I'm trying to do this
in a XULRunner application. Is BrowserFullScreen(); something you created or
is this for Firefox?

Thanks again,
Greg

On 2/21/07, Jeff Dickson <jdickson at mti-interactive.com> wrote:
>
>  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
>
> _______________________________________________
> Jslib mailing list
> Jslib at mozdev.org
> http://mozdev.org/mailman/listinfo/jslib
>
>


-- 
Internet Community Church Ministries
http://www.iccnet.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/jslib/attachments/20070221/4ec27e35/attachment.html 


More information about the Jslib mailing list