noririty%jcom.home.ne.jp f4d29e7af1 Fix 207601 - Add Find As You Type prefs. Patch by mpconnor@rogers.com
git-svn-id: svn://10.0.0.236/trunk@146234 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-20 19:08:20 +00:00

66 lines
3.0 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/pref/pref.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://browser/locale/pref/pref-advanced.dtd" >
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel('chrome://browser/content/pref/pref-advanced.xul');"
headertitle="&lHeader;">
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["moveSystemCaret", "hideTabBar",
"loadInBackground", "useAutoScrolling",
"useSmoothScrolling", "enableAutoImageResizing",
"useSSL2", "useSSL3", "useTLS1", "useTypeAheadFind",
"linksOnlyTypeAheadFind",];
function Startup() {
updatePrefs();
}
function updatePrefs() {
var enabled = document.getElementById("useTypeAheadFind").checked;
var linksOnly = document.getElementById("linksOnlyTypeAheadFind");
linksOnly.disabled = !enabled;
}
]]>
</script>
<vbox class="listBox settingsBox" flex="1" style="overflow: auto;">
<expander id="accessibility" label="&accessibility.label;" open="true" persist="open" clearhidden="true">
<checkbox id="moveSystemCaret" label="&moveSystemCaret.label;"
prefstring="accessibility.browsewithcaret"/>
<checkbox id="useTypeAheadFind" label="&useTypeAheadFind.label;"
prefstring="accessibility.typeaheadfind" oncommand="updatePrefs()"/>
<checkbox class="indent" id="linksOnlyTypeAheadFind" label="&linksOnlyTypeAheadFind.label;"
prefstring="accessibility.typeaheadfind.linksonly"/>
</expander>
<expander id="browsing" label="&browsing.label;" open="true" persist="open" clearhidden="true">
<checkbox id="hideTabBar" label="&hideTabBar.label;"
prefstring="browser.tabs.autoHide"/>
<checkbox id="loadInBackground" label="&loadInBackground.label;"
prefstring="browser.tabs.loadInBackground"/>
<checkbox id="useAutoScrolling" label="&useAutoScrolling.label;"
prefstring="general.autoScroll"/>
<checkbox id="useSmoothScrolling" label="&useSmoothScrolling.label;"
prefstring="general.smoothScroll"/>
</expander>
<expander id="multimedia" label="&multimedia.label;" open="true" persist="open" clearhidden="true">
<checkbox id="enableAutoImageResizing" label="&enableAutoImageResizing.label;"
prefstring="browser.enable_automatic_image_resizing"/>
</expander>
<expander id="security" label="&security.label;" open="true" persist="open" clearhidden="true">
<checkbox id="useSSL2" label="&useSSL2.label;"
prefstring="security.enable_ssl2"/>
<checkbox id="useSSL3" label="&useSSL3.label;"
prefstring="security.enable_ssl3"/>
<checkbox id="useTLS1" label="&useTLS1.label;"
prefstring="security.enable_tls"/>
</expander>
</vbox>
</page>