home *** CD-ROM | disk | FTP | other *** search
/ Minami 80 / MINAMI80.iso / Extra / DivXInstaller.exe / $PLUGINSDIR / GoogleToolbarFirefox.msi / xpi / chrome / tb-amulet-of-protection / content / textbutton.xml < prev    next >
Extensible Markup Language  |  2006-05-15  |  955b  |  29 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- This XBL implements a text button, text that has non-button 
  4.  appearance, but button behavior (commands, accesskey, etc). Note that
  5.  the text of the button will not word wrap. Use an html:a in conjunction
  6.  with an onclick=goDoCommand(whatever) if you want something that wraps. -->
  7.  
  8. <bindings id="amulet-text-button-bindings"
  9.    xmlns="http://www.mozilla.org/xbl"
  10.    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.    xmlns:xbl="http://www.mozilla.org/xbl">
  12.  
  13.   <binding id="amulet-text-button"
  14.            extends="chrome://global/content/bindings/button.xml#button">
  15.     <resources>
  16.       <stylesheet 
  17.         src="chrome://tb-amulet-of-protection/content/textbutton.css" />
  18.     </resources>
  19.  
  20.     <content>
  21.       <children>
  22.         <xul:label 
  23.          class="button-text" xbl:inherits="value=label,accesskey,crop,onmouseover,onmouseout," />
  24.       </children>
  25.     </content>
  26.   </binding>
  27.  
  28. </bindings>
  29.