I’ve modified the code to make the menu bar behave differently. Only the top bar is expanded by default and only one menu is expanded each time. You can not close a menu by clicking on its title when it’s already expanded. However you don’t need to close a menu, you simply click on a different...
I've commented some of your statements, and added some of my codes which should work (at least it works on my side). My changes and additions are in blue and followed by my comments (// HappyTiger -). Note: The sliding is too slow to be acceptable when I have a lot of contents on the right side...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.