Monday, May 31, 2010

XUL is Easy!

We've been experimenting with XUL now for a few days and have managed to create simple overlays like menus, menu items, toolbar items, sidebars, status bar icons and buttons, simple windows and dialogs. Of course, all that the clickable items on these do is trigger simple alerts, but most of them work. There are still a few things we 're yet to figure out, but I believe that shouldn't take too long.The DOM Inspector add-on has proved invaluable in helping us understand and manipulate the browser chrome DOM, especially because it allows one to find any item in the Document Tree by simply clicking on it. This helped quickly retrieve the id's of the components in whose surroundings we wished to introduce new elements.
As of now, the XUL part seems doable, but we could definitely do with some help on Javascript. What I shall do, in the next few blogs, is describe in steps, how we plan to design each of the add-ons, with a fair amount of detail. That should put things in place.

No comments:

Post a Comment