When you click the middle navigation products, how to do?

Like when you click on the Products to do so, to move the second navigation from the top down.

5bbdc4fe2306d120390056.jpeg
Here is an example of how it would like to implement.

https://robertsspaceindustries.com/

Click on Games in the navigation.
March 12th 20 at 08:06
1 answer
March 12th 20 at 08:08
$(button).click(function(e) { //Click on button
e.preventDefault();
$(panel NAV).slideDown(); // open panel with navigation
});

Find more questions by tags HTMLCSS