How to show/hide the submenu and podpodmenyu?

Good afternoon.

Do navigation:
jsfiddle.net/wagwandude/1fsq7j46/5

I am suffering for the second time, trying to make it so that when you click on li.submenu_f opened a submenu and when you click on li.submenu_s opened podpodmenyu and, accordingly, when you click on the second li.submenu_f - all li.submenu_f (except the current one) was hiding (single li.submenu_f clicked - it opened, clicked the second it opened, and the other fled)

Tell me what needs to be done to do so as intended?
Thanks in advance!
July 8th 19 at 16:14
1 answer
July 8th 19 at 16:16
Solution

Find more questions by tags CSSHTMLJavaScriptjQuery