0

https://jsfiddle.net/cr72vqhb/1/

Follow 2 scenario's.

First Scenario:
Click on client-side, get message, menu slides out.
Click on server-side, get message, first menu hides, second slides out.
Perfect, right?

Hard refresh the Fiddle

Second Scenario:
Click on server-side, nothing. Absolutely nothing. It's as if I mistyped the selector.

Why is this happening? server-side can be only triggered once client-side has been triggered.

Edited by Aeonix

2
Contributors
2
Replies
22
Views
1 Year
Discussion Span
Last Post by Aeonix
1

https://jsfiddle.net/cr72vqhb/2/

Not quite what you want but it's the first "nav div" animate (in your first fiddle) that's the problem. If you comment out this line - yes submenus are visible, but the clicks work as expected.

Edited by diafol

0

Your code does work and it does provide the solution.
Unfortunately I still don't understand what the problem was about.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.