biber Posted April 27, 2024 Posted April 27, 2024 I like to use keys instead of the mouse, whenever possible. Is there a way to walk through a gallery (eg. call the next or previous page) by cursor keys left or right?
cwsoft Posted April 28, 2024 Posted April 28, 2024 Sure. You just need to register some event handler using vanilla Javascript or jQuery shipping with Processwire. Easiest way would be to simulate a mouse click on the left right HTML elements of your existing gallery when the arrow keys are pressed. Some inspiration can be found here for example. 1
biber Posted April 28, 2024 Author Posted April 28, 2024 Hi @cwsoft, thanks for your hints, I will try the options. Günter
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now