From 94f992e9083a34fa002523553583981b3de7263a Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Tue, 21 Jun 2005 15:45:53 +0000 Subject: [PATCH] Added support for keyboard navigation in Opera. It was not very hard given fact that Opera tries to be as compatible with IE as possible ;-) --- slides/browser/slides.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/browser/slides.js b/slides/browser/slides.js index abc56d903..5475767a3 100644 --- a/slides/browser/slides.js +++ b/slides/browser/slides.js @@ -42,7 +42,7 @@ function newPage(filename, overlay) { function navigate (evt) { var kc = -1; - if (navigator.org == 'microsoft') { + if (navigator.org == 'microsoft' || navigator.family == 'opera') { kc = window.event.keyCode; } else if (navigator.family == 'gecko') { kc = evt.keyCode; -- 2.40.0