You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on a layout that consists of a vertical column of thumbnail images, each linked to its own gallery with additional images. When the user clicks on a thumbnail image, Fancybox opens, allowing them to navigate through the images within that specific gallery using the arrow keys.
My question is how can I customize the functionality so that when the 'up' and 'down' arrow keys are pressed, instead of moving to the next or previous image within the current gallery, it will display the first image from the next or previous gallery?
In essence, I want users to be able to open Fancybox, navigate through all the images in all galleries present on the page without having to close Fancybox each time.
jsV8
changed the title
Is there a way to enable Fancybox to change to the adjacent gallery by simply using the 'up' or 'down' arrow keys?
1
Sep 7, 2024
jsV8
changed the title
1
Is there a way to enable Fancybox to change to the adjacent gallery by simply using the 'up' or 'down' arrow keys?
Sep 7, 2024
Describe the bug
I am currently working on a layout that consists of a vertical column of thumbnail images, each linked to its own gallery with additional images. When the user clicks on a thumbnail image, Fancybox opens, allowing them to navigate through the images within that specific gallery using the arrow keys.
You can view a demo of this setup here: http://jsfiddle.net/Q6tmq/
My question is how can I customize the functionality so that when the 'up' and 'down' arrow keys are pressed, instead of moving to the next or previous image within the current gallery, it will display the first image from the next or previous gallery?
In essence, I want users to be able to open Fancybox, navigate through all the images in all galleries present on the page without having to close Fancybox each time.
https://javascripter.space/questions/is-there-a-way-to-enable-fancybox-to-change-to-the-adjacent-gallery-by-simply-using-the-up-or-down-arrow-keys
Reproduction
Additional context
No response
The text was updated successfully, but these errors were encountered: