Eric H. Jung wrote:
--- HJ <[EMAIL PROTECTED]> wrote:
Eric H. Jung wrote:
Do you think there's a way to change the zlevel dynamically at runtime from
alwaysRaised (zlevel=6) to 5?
Yes, you can use:
const CI = Components.interfaces;
var xulwin = window.QueryInterface(CI.nsIInterfaceRequestor)
.getInterface(CI.nsIWebNavigation)
.QueryInterface(CI.nsIDocShellTreeItem)
.treeOwner
.QueryInterface(CI.nsIInterfaceRequestor)
.getInterface(CI.nsIXULWindow);
xulwin.zLevel = xulwin.normalZ;
xulwin.zLevel = xulwin.raisedZ;
Wow, you're a genius.
Either that or he read toolkit/components/help/help.js (or maybe some
precursor bug) ;-)
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners