RE: Is it possible to clone a xul window multiple times, with diffferent contents?
Shibu Narayanan <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Message-ID | <de144b94-20e6-4313-be38-4025f293b794@default> |
You need to give a new name every time you invoke a window.open(). Make it "widow_1", "window_2", and so on... That will give you new instances of the window. Shibu Narayanan -----Original Message----- From: Charles Anjos [mailto:[email protected]] Sent: Wednesday, May 30, 2012 9:38 AM To: [email protected] Subject: Is it possible to clone a xul window multiple times, with diffferent contents? I'm trying to create a "sticky-note" app where I want to manage any number of notes at any given time. Already managed to create the main program that can open another window (that will be my sticky note), but calling the function that created the first window won't call anymore windows. Is there a way to create another instance of one window multiple times with different contents? This is the Javascript that i'm using to create a window: window.open("chrome://stickies/content/window.xul","window","chrome=1, titlebar=0"); _______________________________________________ dev-tech-xul mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xul