• Register
Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.

Control Keyboard next/back buttons

0 votes

Hi,

I found this

sliderSettings = {enableKeyboard:false};

to disable keyaboard navigation.

How can I control keys instead of disable them, eg nav.to a certain page?

Thank you.

asked 4 days ago in how_to by Elitsio (260 points)
    

1 Answer

0 votes
 
Best answer

OK, I found it...

$(document).keydown(function(e){
    if (e.keyCode == 39)
 
}
 
    if (e.keyCode == 37)
{
 
}
 
});

 

 
answered 4 days ago by Elitsio (260 points)
selected 2 days ago by justin
Nice work finding a solution. Let me know if you need any other help.
...