href » mapKey
mapKey is a jQuery plugin that allows you to easily map keyboard shortcuts to various JavaScript actions. Some examples:
// Fire a simple function when down arrow is pressed
$.mapKey("down", function() { $(".hiddendiv").slideDown(); });
// Fire the href of a link with rel "next" when right arrow is pressed
$("a[rel=next]").mapKey("right");
// Fire a jQuery trigger when a key is pressed
$("div").mapKey("down", {trigger: facebox.show});