Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

space for next item/slide

  • Loading branch information...
commit 84e97ffe7ffea45a37d82b73f1ed218898323e29 1 parent b64266e
Ioannis Cherouvim authored September 21, 2011

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  slideshow.js
5  slideshow.js
@@ -167,8 +167,8 @@ var self = window.SlideShow = function(container, slide) {
167 167
 		Keyboard navigation
168 168
 		Home : First slide
169 169
 		End : Last slide
170  
-		Up/Right arrow : Next item/slide
171  
-		Ctrl + Up/Right arrow : Next slide
  170
+		Space/Up/Right arrow : Next item/slide
  171
+		Ctrl + Space/Up/Right arrow : Next slide
172 172
 		Down/Left arrow : Previous item/slide
173 173
 		Ctrl + Down/Left arrow : Previous slide 
174 174
 		(Shift instead of Ctrl works too)
@@ -190,6 +190,7 @@ var self = window.SlideShow = function(container, slide) {
190 190
 				case 38: // up arrow
191 191
 					me.previous(evt.ctrlKey || evt.shiftKey);
192 192
 					break;
  193
+				case 32: // space
193 194
 				case 39: // ->
194 195
 				case 40: // down arrow
195 196
 					me.next(evt.ctrlKey || evt.shiftKey);

0 notes on commit 84e97ff

Please sign in to comment.
Something went wrong with that request. Please try again.