initial import of custom toolbar button template
[icedeb.git] / chrome / button.xul
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?xml-stylesheet type="text/css"
3   href="chrome://custombutton/content/button.css"?>
4
5 <!DOCTYPE overlay >
6 <overlay id="custombutton-overlay"
7   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
8
9 <script type="application/x-javascript"
10   src="chrome://custombutton/content/button.js"/>
11
12 <!-- Firefox -->
13 <toolbarpalette id="BrowserToolbarPalette">
14   <toolbarbutton id="custom-button-1"/>
15   </toolbarpalette>
16
17
18 <!-- button details -->
19 <toolbarbutton id="custom-button-1"
20   label="Custom"
21   tooltiptext="My custom toolbar button"
22   oncommand="CustomButton[1]()"
23   class="toolbarbutton-1 chromeclass-toolbar-additional custombutton"
24   />
25
26 </overlay>
27