im trying to animate only the first-level li of this (here shortened) menu:
<div class="test">
<ul id='nav'>
<li>Start</li>
<li>Basics
<ul>
<li class="level_2">Installation</li>
<li><a href="#">Syntax</a></li>
<li>Selektoren</li>
<li>Events und Ereignisse</li>
<li>Zusammenfassung</li>
</ul>
</li>
</ul>
</div>
Here's a jsfiddle: https://jsfiddle.net/kfc79z6h/4/
So I want the menu to slideUp/Down only when clicking on "Basics", "Effekte", "HTML", "Traversing".
As you can see in the fiddle, I've tried out a lot of answers I've found so far, but nothing seems to work.
I hope you can help :)
` instead?
– charlietfl Feb 24 '15 at 21:17