Accordion Menu / Posts /

Close all menu item without opening

0
Hello.
I am testing your code, and every time I load the page, it opens the last menu item automatically.
I used amenu.close(true); to close... it worked, but I can see the menu closing.
Is there a way to load this menu with all menu items closed by default?


Kurogaza  one year ago   viewed: 2220    

2 Answers

0

The amenu.close has animation and there is no workaround to turn it off.

If the page URL does not exactly match the opened menu item, but similar, the amenu will take it as the best fit and open it. You can add an menu item that match better to the current page URL, and set the menu item invisible(<li style="display:none;">...</li>. Then you won't see the open and close.

Milo   one year ago
0

Thanks. The invisible idea is working!

Kurogaza   one year ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: