Hello,

I have written a bit of XUL and I need help with this:

<commandset>
    <command id="cmd_close" oncommand="window.close();" />
</commandset>

<hbox>
    <button id="close_button" label="Close"
command="document.getElementById("cmd_close"); />
    <button ##### />
</hbox>

The first button's command doesn't seem to work. I am sure I am doing
something terribly wrong. How do I get around this?

Apart from that, the XUL is at http://code.google.com/p/filerfox. I am
thinking of generating html in order to make the browser element
display the icons. Is this the right way to do it ?
Regards,
PSP

Reply via email to