Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
2
3
index.xul
readme
xuledit.js

readme

online live XUL editor:   https://km-200.github.io/xul/index.xul

example XUL to run here:  https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/window#Examples
intro to XUL:             http://books.mozdev.org/html/mozilla-chp-2.html
intro to XUL:             https://km-200.github.io/xul/2/xul.html
overview:                 https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL

reload the page to reset the XUL content.

find snippets here : https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/Adding_Event_Handlers

example : https://km-200.github.io/xul/2/findfile_events.xul

works with "firefox ESR" and waterfox  too. paste stuff like this into the XUL after the "label" line:


<toolbox>
  <menubar id="options-menubar">
    <menu id="options_menu" label="Options">
      <menupopup>
        <menuitem id="backups" label="Make Backups" type="checkbox"/>
        <menuitem id="email" label="Email Administrator" type="checkbox" checked="true"/>
      </menupopup>
    </menu>
  </menubar>
</toolbox>


or


<?xml version="1.0"?>

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<window id="example-window" title="Example 6.1.1"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<button label="OK" oncommand="alert('Button was pressed!');"/>


</window>