O'Reilly logo

Rapid Application Development with Mozilla™ by Nigel McFarlane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10.9. Hands On: NoteTaker Dialogs

In this “Hands On” session, we'll take advantage of the windowing aspects of XUL to clean up the NoteTaker Edit dialog box some more. We'll also coordinate the application window and the Edit dialog window a little so that they work together. These two items consist of a number of tiny jobs:

1.
Replace <window> with <dialog> in the Edit dialog box.
2.
Replace plain <button> handlers with <dialog> button handlers.
3.
Implement the notetaker-open-dialog command on the main browser window so that window.openDialog() is used to display the Edit dialog box.
4.
Implement the notetaker-close-dialog command.
5.
Find and implement a strategy for handling data that is used by more than one window.
6.
Work out what kind of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required