Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi when you say left of right do you actually mean adding the words left and right? Or using the left arrow and right arrow on your keyboad?

    Thread Starter leemon

    (@leemon)

    I mean using the left arrow and right arrow on the keyboard to move backwards/forward in the slider.

    The plugin developer will investigate further your request.

    Thank you

    Plugin Author Stefan Boonstra

    (@stefanboonstra)

    Using the arrow keys to navigate through the slides in the slideshow is not yet possible out of the box. However, if you have some JavaScript knowledge, you should be able to make it work using the slideshow’s API as described in this thread. Note that the “slideshowInstance” reference as described in the aforementioned thread also offers “next()” and “previous()” methods for navigating through the slides.

    Thread Starter leemon

    (@leemon)

    Thanks!

    Thread Starter leemon

    (@leemon)

    In case anyone is interested, this is the js code I’m using to add keyboard navigation to the plugin:

    jQuery(document).ready(function($) {
    
        slideshowInstance = slideshow_jquery_image_gallery_script.getSlideshowInstance($('.slideshow_container'));
    
        $(document.documentElement).keyup(function (e) {
            if (e.keyCode == 39) {
                slideshowInstance.next();
            }
            if (e.keyCode == 37) {
                slideshowInstance.previous();
            }
        });
    
    });
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Keyboard navigation’ is closed to new replies.