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-keynav.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  4KB  |  95 lines

  1. <?xml version="1.0"?> 
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Mozilla.org Code.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    - Netscape Communications Corporation.
  19.    - Portions created by the Initial Developer are Copyright (C) 2003
  20.    - the Initial Developer. All Rights Reserved.
  21.    -
  22.    - Contributor(s): Aaron Leventhal
  23.    -
  24.    - Alternatively, the contents of this file may be used under the terms of
  25.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  26.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.    - in which case the provisions of the GPL or the LGPL are applicable instead
  28.    - of those above. If you wish to allow use of your version of this file only
  29.    - under the terms of either the GPL or the LGPL, and not to allow others to
  30.    - use your version of this file under the terms of the MPL, indicate your
  31.    - decision by deleting the provisions above and replace them with the notice
  32.    - and other provisions required by the LGPL or the GPL. If you do not delete
  33.    - the provisions above, a recipient may use your version of this file under
  34.    - the terms of any one of the MPL, the GPL or the LGPL.
  35.    -
  36.    - ***** END LICENSE BLOCK ***** -->
  37.  
  38. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  39. <?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
  40.  
  41. <!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-keynav.dtd" >
  42.  
  43. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  44.       onload="parent.initPanel('chrome://communicator/content/pref/pref-keynav.xul'); initPrefs();"
  45.       headertitle="&lHeader;">
  46.  
  47.   <script type="application/x-javascript" 
  48.           src="chrome://communicator/content/pref/pref-keynav.js"/>
  49.  
  50.   <script type="application/x-javascript">
  51.   <![CDATA[
  52.     var _elementIDs = ["findAsYouTypeEnableAuto", "findAsYouTypeSound", 
  53.       "findAsYouTypeTimeout"];
  54.   ]]>
  55.   </script>
  56.   
  57.   <groupbox align="start">
  58.     <caption label="&tabNavigationBehavior.label;"/>
  59.     <description value="&tabNavigationDesc.label;"/>
  60.     <!-- gData var and kTabTo* consts are declared in pref-keynav.js -->
  61.     <checkbox id="tabNavigationLinks" label="&tabNavigationLinks.label;" 
  62.               accesskey="&tabNavigationLinks.accesskey;" 
  63.               oncommand="gData.tabNavPref ^= kTabToLinks;"/>
  64.     <checkbox id="tabNavigationForms" label="&tabNavigationForms.label;" 
  65.               accesskey="&tabNavigationForms.accesskey;" 
  66.               oncommand="gData.tabNavPref ^= kTabToForms;"/>
  67.     <description value="&tabNavigationTextboxes.label;"/>
  68.   </groupbox>
  69.  
  70.   <groupbox align="start">
  71.     <caption label="&findAsYouTypeBehavior.label;"/>
  72.     <checkbox id="findAsYouTypeEnableAuto" label="&findAsYouTypeEnableAuto.label;" 
  73.               prefstring="accessibility.typeaheadfind.autostart" 
  74.               oncommand="setLinksOnlyDisabled();"/>
  75.     <radiogroup id="findAsYouTypeAutoWhat" style="margin-left: 2em" 
  76.                 oncommand="gData.linksOnlyPref = this.selectedIndex;">
  77.       <radio value="0" label="&findAsYouTypeAutoText.label;" 
  78.              accesskey="&findAsYouTypeAutoText.accesskey;"/>
  79.       <radio value="1" label="&findAsYouTypeAutoLinks.label;" 
  80.              accesskey="&findAsYouTypeAutoLinks.accesskey;"/>
  81.     </radiogroup>
  82.     <description>&findAsYouTypeTip.label;</description>
  83.     
  84.     <vbox class="box-padded" align="start">
  85.       <separator class="thin" />
  86.       <checkbox id="findAsYouTypeSound" label="&findAsYouTypeSound.label;" 
  87.                 accesskey="&findAsYouTypeSound.accesskey;"
  88.                 prefstring="accessibility.typeaheadfind.enablesound"/>
  89.       <checkbox id="findAsYouTypeTimeout" label="&findAsYouTypeTimeout.label;" 
  90.                 accesskey="&findAsYouTypeTimeout.accesskey;"
  91.                 prefstring="accessibility.typeaheadfind.enabletimeout"/>
  92.     </vbox>
  93.   </groupbox>
  94. </page>
  95.