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

Destroy #15

Open
sau-152mm opened this issue Apr 12, 2014 · 6 comments
Open

Destroy #15

sau-152mm opened this issue Apr 12, 2014 · 6 comments

Comments

@sau-152mm
Copy link

I need "accordion" only for tablets(mobile), how to remove it when the desktop version ("destroy" -not working)?

@henrik23
Copy link

Is this checked?

I experience the same issue. In a responsive site I use navgoco for mobile navigation. Above a certain screen width the navigation changes to a css dropdown menu. In order to have the css dropdown working the navgoco script needs to be removed. Trying to accomplish this with enquire.js - loading navgoco for mobile and "destroying" it for desctop. But it doesn't work.

Am I right that the "destroy" method should remove all the navgoco-functionality?

Thank you!

@sau-152mm
Copy link
Author

yes you are right

@henrik23
Copy link

Thanks for your comment! Do you found a solution for your situation?

@sau-152mm
Copy link
Author

No

@tefra
Copy link
Owner

tefra commented Jul 4, 2015

You are using destroy like this and it doesn't work?
$("#demo1").navgoco('destroy');

@sau-152mm
Copy link
Author

yes

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