Thread:Project:Support desk/Hide Left Navigation Area with Keyboard Shortcut/reply (6)

You don't need to remove the other stuff, just add at the end. For the Vector skin this works:

$('document').ready(function {       $("body").keydown(function (e) { if (e.keyCode == 114) { //F3 to collapse $("#mw-panel").toggle; $("#bodyContent").css('margin-left', '-200px'); }       });        $("body").keydown(function (e) { if (e.keyCode == 115) { //F4 to expand $("#mw-panel").toggle $("#content").css('margin-left', ''); }       }); });

This is not fully working. The tricky part is to move the body content to the very left and to undo all of it again. Fix yourself.