Version 1.4 of the Before/After plugin has been released with a new feature – keyboard navigation. Now you can use your left and right arrow keys to move the image divider. By default this option has been disabled. There are actually two new option parameters,
keypressAmount. The first,
enableKeyboard, can be set to true or false to enable keyboard navigation and the second,
keypressAmount, is the number of pixels you want the divider to move each time the arrow is pressed. The main reason for setting
enableKeybaord to false was for those running multiple instances of the plugin on a page. If the default was true, than a press of the arrow key would move the divider on all instances.
Visit the Before/After plugin page to download the latest version and try out the demos.