Re: openDialog(DOM, ..)

2015-07-06 Thread Gijs Kruitbosch
On 06/07/2015 17:08, Marcello Stanisci wrote: Alternatively, create an empty dialog and manipulate the dialog using DOM based on the arguments you pass using window.open[Dialog](...). This is What do you mean by 'empty dialog'? Is it a a. xul "skeleton" file This. ~ Gijs __

Re: openDialog(DOM, ..)

2015-07-06 Thread Marcello Stanisci
> Alternatively, create an empty dialog and manipulate the dialog using DOM > based on the arguments you pass using window.open[Dialog](...). This is What do you mean by 'empty dialog'? Is it a a. xul "skeleton" file or something like b. openDialog("about:blank"); ? I might have missed that, b

Re: openDialog(DOM, ..)

2015-07-06 Thread Gijs Kruitbosch
Use a data: URL, or failing that, define your own protocol handler and use that to return the XUL DOM you want, when used with openDialog. Alternatively, create an empty dialog and manipulate the dialog using DOM based on the arguments you pass using window.open[Dialog](...). This is probably

openDialog(DOM, ..)

2015-07-06 Thread Marcello Stanisci
Hello, Consider the method: window.openDialog(URL.xul, ...). Its final result is to opens a dialog from the content read in file URL.xul. After some web surfing, it seems not possible to programmatically define a dialog, and then open that dialog (somehow) from the main window. So, in the contex