(-- on linux, instead, work perfectly --)
Unfortunately, i have found no simple solution to this. Except to open
the content in a new window using "window.open" and give the
titlebar=no as one of the flags in the 3rd argument.
This new window then opens without the titlebar.
I try your solution, but don't work: in my window i have a "button" to
call this function:
#########################
function my_open(){
window.open("chrome://path_to/my.xul","title","chrome,titlebar=no");
}
#########################
The result is the creation of new window with titlebar. (If i set
chrome=no as third argument... the window don't appear)
Do you get a titlebar that no longer has functioning widgets? When I
try titlebar=no in XULRunner I get the usual chrome, but with the
widgets in the titlebar grayed out. In Firefox, I see no difference at
all, as if titlebar=no did not do a thing.
I've seen this titlebar=no thing all over the 'nets as the solution to
this problem, but only once have I seen someone respond that this only
disabled the widgets. That was on Google Groups and there was no
response after that comment. My guess is that for some setups this
actually does work, but for others it does not. Can anyone vouch for
titlebar=no working and if so, what exactly are you running your XUL
on?
To refresh the memory: we are speaking specifically about getting rid
of system provided chrome on the Mac.
Daniel
> _______________________________________________
> dev-tech-xul mailing list
> dev-te...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-xul
>
What we do:
var mainwin = "chrome://rubberducky/content/xul/mainwin.xul";
window.open( mainwin, "",
"chrome,modal=no,titlebar=no,resizable=no,toolbar=no,popup=no,titlebar=no"
);
Apparently, we REALLY want to make sure titlebar=no :)
Also, the file mainwin.xul has its window with hidechrome="true"
The primary window that xulrunner opens up first is something we hide
from the user. If you want to control that, I think you have to set a
prefs var.
mig (at songbirdnest)
-moz-appearance: none !important;
in all of our css (but that shouldn't supposedly make much difference).
mig