I would like to know if it's possible to navigate between slides in reveal.js like moving on a grid or a checkerboard (reason is explained at the bottom of the post). At the moment when you move to a new stack of slides, the one that takes focus is the topmost of the next stack. This is a normal behavior for a presentation-oriented software but not for a slideshow-oriented tool.
I'd like to override this behavior for some presentations that require moving back and forth along rows of different columns, but I am not confident with Javascript at all. Until now I've found that the right places in the source where the changes should occur might be:
in the function slide (the one that actually changes slide): line 1464, set all vertical indices to same value, instead of the last slide only.
functions navigateLeft and navigateRight (lines 2537 and 2552) use the horizontal index only instead of 'indexh' and 'indexv'.
A possible solution that does not involve the source code was posted a year ago here on stackoverflow by jfriend00 (using-arrowkeys-to-navigate-through-4x4-grid) but I don't know how it should be implemented in an external .js file or in the main .html file.
Why do I think this is important?
I'll make an example that is not my case but easy enough to understand.
Let's assume that you perform a clinical study of 15 analyses on 50 patients, and you want to look at all graphs (generated by Python, MATLAB or R in raster or vector format) like they were on a photo grid, arranged with patients on columns and analyses on rows. And let's say that you want to see all the results of the 9th analysis for all the patients. The problem is that if you click "right arrow" key, reveal.js shows the 1st (or the last visited) slide on the next column.
Intuitively, this is what you would like to have during a presentation to a public audience, but not to your boss or collaborators during a private office/lab meeting.