Glücklicherweise gibt es hier ausgesprochen hilfsbereite Leute:
~~~javascript
if((key == 'x') || (key == 'o') || (key == 'c')){ // close lightbox
myLightbox.end();
} else if(keycode == 37){ // display previous image
if(activeImage != 0){
myLightbox.disableKeyboardNav();
myLightbox.changeImage(activeImage - 1);
}
} else if(keycode == 39){ // display next image
if(activeImage != (imageArray.length - 1)){
myLightbox.disableKeyboardNav();
myLightbox.changeImage(activeImage + 1);
}
}
Das sind die Pfeiltasten rechts/links (37/39)