WordPress.org

Forums

[resolved] Keyboard post navigation with Cleaner (Lightbox) Post Gallery (2 posts)

  1. Aya
    Member
    Posted 1 year ago #

    Hello,

    I am trying to implement navigation between posts using the instructions here: http://reallysimpleworks.com/blog/navigating-between-blog-posts-with-jquery-keyboard-shortcuts/

    It works, except I also have a lightbox post gallery on the page (using the Hatch theme). So if I open lightbox and navigate between photos using the left and right arrows, it triggers the navigation between blog posts but only once the lightbox is closed.

    I want to be able to keep these two navigation actions separate - perhaps having the post navigation be disabled with the lightbox is opened, though I'm not sure how this would be done.

    Thanks so much in advance!

    Aya

  2. Aya
    Member
    Posted 1 year ago #

    Sorry, just realized this wasn't the right spot for this kind of question. Feel free to delete!

Topic Closed

This topic has been closed to new replies.

About this Topic