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

Can i use "Transit" plugin features with Superfish? #162

Open
MoradHamdy opened this issue Aug 17, 2016 · 1 comment
Open

Can i use "Transit" plugin features with Superfish? #162

MoradHamdy opened this issue Aug 17, 2016 · 1 comment

Comments

@MoradHamdy
Copy link

Hello there,

"Transit" plugin provides transitions & transformations with jquery. If possible, how i can extend Superfish animation effects using this plugin?

@ghost
Copy link

ghost commented Apr 4, 2017

@MoradHamdy If you load Transit between jquery and superfish (e.g. how you would add hoverIntent) it seems to work. What was your experience? Here's how I'm doing it:

fetchInject([
  '/assets/js/main.js'
], fetchInject([
  '/assets/js/vendor/superfish.min.js'
], fetchInject([
  '/assets/js/vendor/jquery.transit.min.js',
  '/assets/js/vendor/jquery.hoverIntent.js'
], fetchInject([
  '/assets/js/vendor/jquery.min.js'
]))))

Which downloads everything in parallel without causing any race conditions.

superfish

https://github.com/jhabdas/fetch-inject

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

1 participant