Forum Discussion
eLearningmLearn
12 years agoCommunity Member
Function Keys Interactivity in Storyline Using JavaScript
I am creating simulation for a software in storyline. This simulation has function keys interactivity - F2,F3,F10,F11.
I was able to write trigger code - Jump to Slide when user presses F3 keys. ...
RandyCruz-d1283
Community Member
Hi Owen - this is genius! Wondering if there are any scripts to also disable the arrow keys? My interaction required the down arrow to show slide layers using the press key trigger. Seems to work on the first layer but i can't keep pressing the down arrow AND move up several layers. It breaks after the first. Any thoughts?
MathNotermans-9
3 years agoCommunity Member
Here you can find all keycodes… and thus disable any key wanted.
https://css-tricks.com/snippets/javascript/javascript-keycodes/
Arrow keys are 37,38,39 and 40...