home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / toolkit.jar / content / global / bindings / spinbuttons.xml < prev    next >
Encoding:
Extensible Markup Language  |  2001-08-04  |  1.5 KB  |  44 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- 
  4.    - The contents of this file are subject to the Mozilla Public
  5.    - License Version 1.1 (the "License"); you may not use this file
  6.    - except in compliance with the License. You may obtain a copy of
  7.    - the License at http://www.mozilla.org/MPL/
  8.    - 
  9.    - Software distributed under the License is distributed on an "AS
  10.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.    - implied. See the License for the specific language governing
  12.    - rights and limitations under the License.
  13.    - 
  14.    - The Original Code is Mozilla.org code.
  15.    - 
  16.    - The Initial Developer of the Original Code is Hσkan Waara.
  17.    - Portions created by Hσkan Waara are Copyright (C),
  18.    - Hσkan Waara.  All Rights Reserved.
  19.    - 
  20.    - Contributor(s): Hσkan Waara (Original Author)
  21.   -->
  22.  
  23. <bindings id="spinbuttonsBindings"
  24.    xmlns="http://www.mozilla.org/xbl"
  25.    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  26.  
  27.   <binding id="spinbuttons"
  28.      extends="chrome://global/content/bindings/spinbuttons.xml#spinbuttons-baseline">
  29.     <resources>
  30.       <stylesheet src="chrome://global/skin/spinbuttons.css"/>
  31.     </resources>
  32.   </binding>
  33.  
  34.   <binding id="spinbuttons-baseline">
  35.     <content>
  36.       <xul:vbox flex="1" align="center">
  37.         <xul:image inherits="onclick=onup" id="upButton" class="up"/>
  38.         <xul:image inherits="onclick=ondown" id="downButton" class="down"/>
  39.       </xul:vbox>
  40.     </content>
  41.   </binding>
  42.  
  43. </bindings>
  44.