General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
shift-space for page-up
Posted by: Paul
Date: January 06, 2003 02:46PM

I've been trying to configure K-M so that shift-space pages up on a webpage, just as the space bar pages down.

I've searched these forums, have found the question asked before, but no answer.

In accel.cfg I've set SHIFT VK_SPACE to any obvious value, and several not-so-obvious values. No dice.

In c:\k-meleon\res\builtin\htmlBindings.xml, I find the following two lines:

<handler event="keypress" key=" " command="cmd_scrollPageDown" />
<handler event="keypress" key=" " modifiers="shift" command="cmd_scrollPageUp" />

To my ignorant eye, that looks as if it might take care of the situation. But apparently not.

So tell me... how do I configure shift-spacebar to page-up on a webpage?

Running K-Meleon 0.7 under Windows 98.

Options: ReplyQuote
Re: shift-space for page-up
Posted by: Ismo
Date: January 06, 2003 10:24PM

This isn't quite what you asked.

If you wan't the old Netscape 4.7 behaviour where Backspace
goes one page up you have to edit your
k-meleon\res\builtin\PlatformHTMLBindings.xml (not htmlbindings.xml) file
Browser section..

Find <handler event="keypress" keycode="VK_BACK"
command="cmd_browserBack"/>

and change it to
<handler event="keypress" keycode="VK_BACK" command="cmd_movePageUp" />

I could'n get shift-space to act as PageUp but you can define control-shift to to do
the same. Just add to browser section

<handler event="keypress" key=" " modifiers="control" command="cmd_movePageUp" />

Options: ReplyQuote
Re: shift-space for page-up
Posted by: Paul
Date: January 06, 2003 11:30PM

Ok, I added that line to the browser section in platformHTMLBindings.xml... and sure enough, it works! Now ctrl-space does a page-up.

Thanks, Ismo.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.