But when a new xul window of mine opens due to clicking a javascript
link in the browser element, my toolbars, status bar etc in the new
window is not automatically hidden so I figure that my window must be
told about what features are to be displayed for this to work or do I
need to give my elements special names so that the window features are
automatically displayed or hidden as per the javascript code in the
link that was clicked?


Boris Zbarsky wrote:
> James Newell wrote:
> > How does my window know how to display or hide features in the feature
> > argument of the window.open function?
>
> Based on the chrome flags passed to the window creator.
>
> Unless you're overriding the window watcher (which is highly not recommended).
> The window watcher is what parses the feature string, etc.
> 
> -Boris

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to