Thanks, HJ.
Do you think there's a way to change the zlevel dynamically at runtime from
alwaysRaised
(zlevel=6) to 5? I tried this:
1. window.openDialog() when the chrome URL contains: <dialog id="mydialog"
zlevel="6" ... />
2. document.getElementById("mydialog").setAttribute("zlevel", 5);
also tried "5" (string, not int), but the window remains "alwaysRaised". Calling
getAttribute("zlevel") does return 5. It's as if the dialog is out-of-date, not
being
repainted/refreshed from the XUL DOM.
--- HJ <[EMAIL PROTECTED]> wrote:
> Eric H. Jung wrote:
> > Thanks for the reply. In FF 1.5.0.1, <window zlevel="6"> works but the
> > following doesn't when
> > zlevel isn't specified:
> >
> > window.openDialog("chrome://passwdmaker/chrome/accountsettings.xul", "",
> > "chrome, dialog, modal, alwaysRaised, resizable=yes", params).focus();
> >
> > ...also tried "alwaysRaised=yes".
> >
> > So assuming I go forward with <window zlevel="6">, what is the normal
> > zlevel?
>
> 5 -> nsIXULWindow.idl
>
> /HJ
> _______________________________________________
> Project_owners mailing list
> [email protected]
> http://mozdev.org/mailman/listinfo/project_owners
>
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners