Skip to main content
Participant
March 17, 2022
Question

java script jump to slide using the forward button on playbar

  • March 17, 2022
  • 3 replies
  • 261 views

hello 

 I am looking for a javascript I can use that will allow me to use the standard playbar forward button to jump to a specific slide for branching. 

    This topic has been closed for replies.

    3 replies

    Stagprime2687219
    Legend
    March 18, 2022

    I agree with Lilybiri - ditch the playbar and use custom navigation.

    Your slide deck is zero indexed so you can do the following with JavaScript to jump around.

    cpCmndGotoSlide=3;

    In the above example, you will be taken to the fourth slide in your deck.

    0 = slide 1

    1 = slide 2

    2 = slide 3

    3 = slide 4

    Lilybiri
    Legend
    March 18, 2022

    Do not use a default playbar if you have a non-linear course. You will need to set up custom navigation buttons, which is not that hard since several button types can be used on master slides or timed for the rest of the project. 

    RodWard
    Community Expert
    Community Expert
    March 18, 2022

    That's not quite as simple as you might think.  How do you determine when to over-ride the playbar button funtionality so that it works this way as opposed to it's normal behaviour.

     

    Rather than looking for "a JavaScript", I think what you may find you need is "a JavaScript developer".