Skip to main content
Inspiring
October 4, 2017
Answered

I want the Tab key to work as a "go to next slide" for Captivate 8

  • October 4, 2017
  • 4 replies
  • 769 views

I am using Captivate 8. Can I make the Tab key work as a short cut for a published html 5 file from Captivate in order to allow my student to go to the next slide?

Thanks

This topic has been closed for replies.
Correct answer Lilybiri

You don't need the course to be 508 compliant? Tab is normally meant to tab through elements on the slide.


If you don't need that, put a shape button on the master slide(s) that you make invisible (alpha =0 and stroke = 0) and enter TAB as shortcut key.

4 replies

Lilybiri
LilybiriCorrect answer
Legend
October 4, 2017

You don't need the course to be 508 compliant? Tab is normally meant to tab through elements on the slide.


If you don't need that, put a shape button on the master slide(s) that you make invisible (alpha =0 and stroke = 0) and enter TAB as shortcut key.

AnotherMeAuthor
Inspiring
October 5, 2017

Lilybiri​ your remedy worked great! But all of a sudden the tab key stopped working.

AnotherMeAuthor
Inspiring
October 5, 2017

Might it have something to do with the fact that I am using the play-bar?

ankits61431843
Inspiring
October 4, 2017

Hi AnotherMe,

Please use below javascript code.

$(document).keydown(function (e) { 

var keycode1 = (e.keyCode ? e.keyCode : e.which);

  if (keycode1 == 0 || keycode1 == 9) {

      e.preventDefault();     

     e.stopPropagation(); 

    cp.goToNextSlide();

  } });

Keep the code inside the javascript window on the first slide. I have tested and it is working fine.