I’m trying to disable the hotkeys for left and right arrow on Fancybox 2. I’ve tried using the ‘keys’ available options but I can’t get it to work! Please help:
Here is what I entered in…
keys: {
"next": [13, 32, 34, 39], // enter, space, page down, right arrow, down arrow
"prev": [8, 33, 37], // backspace, page up, left arrow, up arrow
"close": [27] // escape key
}
In order to disable navigation you need to set :
Hope that helps