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

Enthusiast ,
Oct 04, 2017 Oct 04, 2017

Copy link to clipboard

Copied

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

Views

520

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Most Valuable Participant , Oct 04, 2017 Oct 04, 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.

Likes

Translate

Translate
Participant ,
Oct 04, 2017 Oct 04, 2017

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Oct 04, 2017 Oct 04, 2017

Copy link to clipboard

Copied

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.

Tab.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 05, 2017 Oct 05, 2017

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 05, 2017 Oct 05, 2017

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines