Hover delay on event calendar

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 7 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26762

    Sorry if this is a stupid question.

    Is there a way of having a delay on the hover on the event calendar? Because I tend to have lots of events over a short period, users complain that they can have difficulty getting to the event they want to see on the calendar as another event pops up as the mouse pointer passes over as the try to get to one they want to see. The obvious solution would be to have a one or two second delay on the hover function. Is this possible?

    Kim Harding
    #26777

    Hi Kim,

    There is no way of configuring this. However, if you are happy making changes to the code then you would need to edit this part: https://github.com/stephenharris/Event-Organiser/blob/develop/js/frontend.js#L199-L227

    The plug-in uses qtip for the calendar tooltip, and it has a delay option.

    Please note, the linked to file refers to the non-minified version. After making your changes you will want to copy your changes over to frontend.min.js. You can just replace your frontend.min.js with your edited frontend.js, but you may also want to ‘minify’ the file.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.