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. ...
OwenHolt
7 years agoSuper Hero
Thanks for the assist Michael. I'm not sure why/howIi became unsubscribed to this thread. (Or maybe work is marking email as spam?)
- RandyCruz-d12833 years agoCommunity 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-93 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...