Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative next slide #126

Open
naraesk opened this issue Apr 14, 2017 · 6 comments
Open

Alternative next slide #126

naraesk opened this issue Apr 14, 2017 · 6 comments

Comments

@naraesk
Copy link

naraesk commented Apr 14, 2017

Use case: I have a big presentation I'll use regularly. Sometimes I want to go into the details of a topic, sometimes not. Editing the presentation constantly or skipping all slides by hand is possible, but not really convenient. It would be nice to have something like :alternative-next: slide_id

If you press Alt + arrow key, it will jump to the referenced slide instead of the next slide.

Shouldn't be to hard to implement and I would offer to do this myself. Just want to clarify functionality before I'm going to implement it. Maybe someone has further suggestions.

@regebro
Copy link
Owner

regebro commented Apr 14, 2017

That would need support from impress.js, and I don't think that exists.

However, you can with Hovercraft create hierarchies of slides, which other js presentation libraries can use, for example reveal.js. I have a half-done template for that: https://github.com/regebro/hovercraft-revealjs

Easiest for you is probably to just use reveal.js instead, unless you also rely heavily on positioning.

@naraesk
Copy link
Author

naraesk commented Apr 14, 2017

I see, thanks for explenation. Going to request the same thing at the impress.js repo. I don't really like the "vertical slides" of reveal.js, btw. :-)

@naraesk
Copy link
Author

naraesk commented Apr 14, 2017

impress.js has a goto() function to jump to a specific slide. I guess hovercraft can't change the used keys, but with a button instead of alt + arrow key this should be possible, shouldn't it?

@regebro
Copy link
Owner

regebro commented Apr 14, 2017

A button to zoom out so you can see the whole presentation and then click on the slide you want to go to, maybe that could be an option? Your use case is very particular.

@naraesk
Copy link
Author

naraesk commented Apr 14, 2017

Do you think it's this particular? As you mentioned, the vertical slides of reveal.js are similiar, powerpoint supports links to other slides, ant prezi even jumps to a specific slide depending on the key you pressed.

Your suggestion would be okay, but it breaks the flow of the presentation. ideally, the audience will not notice that I skipped something. Therefore I'd still prefere the original variant.

@frederikmoellers
Copy link

frederikmoellers commented Apr 26, 2017

One possibility would be to use the presenter console (so the audience doesn't see exactly the same screen that you see) and use a "Jump to slide #X" (keyboard) shortcut in this presenter console. The audience wouldn't see the prompt where you entered the slide number and impress.js would make the transition smooth no matter how many slides you skipped this way.

I plan to implement the "Jump to slide #X" shortcut for the presenter console anyway in the near future, so if this solves your issue you can use it.

If you really need a "Press button X to go to slide A and press button Y to go to slide B", you could also implement this in a custom JavaScript file which you then include in the presentation. It's just slightly more complicated (and less likely to be of use for the majority of users).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants