home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / pref / pref-colors.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  5KB  |  97 lines

  1. <?xml version="1.0"?> 
  2. <!--
  3.    The contents of this file are subject to the Netscape Public
  4.    License Version 1.1 (the "License"); you may not use this file
  5.    except in compliance with the License. You may obtain a copy of
  6.    the License at http://www.mozilla.org/NPL/
  7.     
  8.    Software distributed under the License is distributed on an "AS
  9.    IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    implied. See the License for the specific language governing
  11.    rights and limitations under the License.
  12.     
  13.    The Original Code is Mozilla Communicator client code, released
  14.    March 31, 1998.
  15.    
  16.    The Initial Developer of the Original Code is Netscape
  17.    Communications Corporation. Portions created by Netscape are
  18.    Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19.    Rights Reserved.
  20.    
  21.    Contributor(s): 
  22.      Ben Goodger <ben@netscape.com>
  23.   -->
  24.  
  25. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  26. <?xul-overlay href="chrome://communicator/content/pref/platformPrefOverlay.xul"?>
  27.  
  28. <!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-colors.dtd" >
  29.  
  30. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  31.       onload="parent.initPanel('chrome://communicator/content/pref/pref-colors.xul');"
  32.       headertitle="&lHeader;">
  33.  
  34.   <script type="application/x-javascript">
  35.   <![CDATA[
  36.     var _elementIDs = ["foregroundText", "background", "browserUseSystemColors", "unvisitedLinks", "visitedLinks", "browserUnderlineAnchors", "browserUseDocumentColors"];
  37.   ]]>
  38.   </script>
  39.   
  40.   <script type="application/x-javascript" src="chrome://communicator/content/pref/pref-colors.js"/>
  41.  
  42.   <hbox>
  43.     <groupbox flex="1" id="pageColours">
  44.       <caption label="&color;"/>
  45.       <hbox align="center">
  46.         <label value="&textColor.label;" accesskey="&textColor.accesskey;" control="foregroundtextmenu"/>
  47.         <spacer flex="1"/>
  48.         <colorpicker type="button" id="foregroundtextmenu" palettename="standard" onchange="setColorWell(this)"/> 
  49.         <data id="foregroundText" preftype="color" prefstring="browser.display.foreground_color" prefattribute="value" wsm_attributes="value"/>
  50.       </hbox>
  51.       <hbox align="center" style="margin-top: 5px">
  52.         <label value="&backgroundColor.label;" accesskey="&backgroundColor.accesskey;" control="backgroundmenu"/>
  53.         <spacer flex="1"/>
  54.         <colorpicker type="button" id="backgroundmenu" palettename="standard" onchange="setColorWell(this)"/> 
  55.         <data id="background" preftype="color" prefstring="browser.display.background_color" prefattribute="value" wsm_attributes="value"/>
  56.       </hbox>
  57.       <separator class="thin"/>
  58.       <hbox align="center">
  59.         <checkbox id="browserUseSystemColors" label="&useSystemColors.label;" accesskey="&useSystemColors.accesskey;"
  60.                   prefstring="browser.display.use_system_colors"/>
  61.       </hbox>
  62.     </groupbox>
  63.       
  64.     <groupbox flex="1">
  65.       <caption label="&links;"/>
  66.       <hbox align="center">
  67.         <label value="&linkColor.label;" accesskey="&linkColor.accesskey;" control="unvisitedlinkmenu"/>
  68.         <spacer flex="1"/>
  69.         <colorpicker type="button" id="unvisitedlinkmenu" palettename="standard" onchange="setColorWell(this)"/> 
  70.         <data id="unvisitedLinks" preftype="string" prefstring="browser.anchor_color" prefattribute="value" wsm_attributes="value"/>
  71.       </hbox>
  72.       <hbox align="center" style="margin-top: 5px">
  73.         <label value="&visitedLinkColor.label;" accesskey="&visitedLinkColor.accesskey;" control="visitedlinkmenu"/>
  74.         <spacer flex="1"/>
  75.         <colorpicker type="button" id="visitedlinkmenu" palettename="standard" onchange="setColorWell(this)"/> 
  76.         <data id="visitedLinks" preftype="string" prefstring="browser.visited_color" prefattribute="value" wsm_attributes="value"/>
  77.       </hbox>
  78.       <separator class="thin"/>
  79.       <hbox align="center">
  80.         <checkbox id="browserUnderlineAnchors" label="&underlineLinks.label;" accesskey="&underlineLinks.accesskey;"
  81.                   prefstring="browser.underline_anchors"/>
  82.       </hbox>
  83.     </groupbox>
  84.   </hbox>
  85.   
  86.   <groupbox>
  87.     <caption label="&someProvColors;"/>
  88.   
  89.     <radiogroup id="browserUseDocumentColors"
  90.                 preftype="bool" prefstring="browser.display.use_document_colors">
  91.       <radio value="true" label="&alwaysUseDocumentColors.label;" accesskey="&alwaysUseDocumentColors.accesskey;"/>
  92.       <radio value="false" label="&useMyColors.label;" accesskey="&useMyColors.accesskey;"/>        
  93.     </radiogroup>
  94.     
  95.   </groupbox>
  96. </page>
  97.