Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to disable all delays and animations #171

Open
ronilaukkarinen opened this issue Aug 29, 2017 · 2 comments
Open

Way to disable all delays and animations #171

ronilaukkarinen opened this issue Aug 29, 2017 · 2 comments

Comments

@ronilaukkarinen
Copy link

Is there a way to disable all animations and delays? I guess it's intentional that hoverintent creates a slight mouseover delay on first element, although it's a bit annoying. If I set everything to zero, I still get some delays. Cannot set animations to false either in options. Any way possible to disable all animations so that menus would open instantly? with or without hoverIntent.

@jquimera
Copy link

jquimera commented Jun 30, 2018

change default speed and speedOut: normal/fast to 1 / 0

$(document).ready(function(){
$('ul.nav').superfish({
    speed: 1,
    speedOut: 0,
});
});

@joeldbirch
Copy link
Owner

Hmm, without hoverIntent and setting speed to 1 or 0 it should be pretty much instant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants