Files
Mozilla/mozilla/xpfe/global/resources/content/browserBindings.xul
mjudge%netscape.com ba88a6145d adding more = false lines to xul files and the XBL. bugs=25462,25730 hyatt
git-svn-id: svn://10.0.0.236/trunk@60347 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:53:01 +00:00

44 lines
1.8 KiB
XML

<?xml version="1.0"?>
<?xul-overlay href="chrome://global/content/platformGlobalOverlay.xul"?>
<window id="browserBindings"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="browserKeySet">
<key id="key_page_up" keycode="VK_PAGE_UP" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageUp');
controller.doCommand('cmd_scrollPageUp');"/>
<key id="key_page_down" keycode="VK_PAGE_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageDown');
controller.doCommand('cmd_scrollPageDown');"/>
<key id="space" key=" " shift="false" control="false" alt="false"
onkeypress="
var v = document.commandDispatcher.focusedElement;
if (v &amp;&amp; (v.tagName == 'INPUT' || v.tagName == 'TEXTAREA')) {
return true;
}
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageDown');
controller.doCommand('cmd_scrollPageDown');
"/>
<key id="key_page_up" keycode="VK_UP" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollLineUp');
controller.doCommand('cmd_scrollLineUp');"/>
<key id="key_page_down" keycode="VK_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollLineDown');
controller.doCommand('cmd_scrollLineDown');"/>
</keyset>
</window>