Copy link to clipboard
Copied
Hi everyone!
I have a problem with a project.
I have a slide with a widget on it (an Accordion). I also have two transparent buttons on the slide to allow the user to go to the previous and next slide using keyboard shortcuts. Problem is: the buttons work when the user first lands on the slide with the widget, but they stop working once the user has clicked on some of the widget´s interactions. I want the buttons to continue working. How do I do that?
Thank you!
Copy link to clipboard
Copied
It sounds like the widget it taking the keyboard focus.
Can you try clicking on the slide, but outside of the accordian widget? If, after clicking, your buttons work, then that is probably the case.
If that is the case try to add this javascript code to your actions: window.parent.focus(). That should come after the user has completed whatever interaction you have for the accordian.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hmm... the widget could be "covering" the whole screen, even if it looks like it is only on part of it. Are you publishing to HTML5?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Accordion is a static interaction, which measn it is not pausing the timeline. Hence the need for at least one button It is a mystery to me why you don't use a shape button which can be put on master slides (always on top) or timed for the rest of the project, also on top? There is no need for JS nor for an advanced action at all.
My blog has lot of use cases for advanced actions.