Open funcion opened 7 years ago
I can not find in your example that you're using expand functions as declared below.
/**
* Expand menu
*/
// Menu expand from fully collapsed mode to level 0
$('#menu').multilevelpushmenu('expand');
// Expand menu up to the $menuLevelObject
$('#menu').multilevelpushmenu('expand', $menuLevelObject);
// Expand menu up to the menu level object with title 'Devices' (not recommended since there could be many menu level objects with the same title; in such cases expanding will be unsuccessful)
$('#menu').multilevelpushmenu('expand', 'Devices');
I have updated your example to expand to 'Devices' menu. https://jsfiddle.net/b464Lgt1/1/
As I can auto expand or open the menu item automatically when loading a specific section, example, if I am in the home and enter the menu category
Devices>Mobile phones
This would take me to the section Mobile phones, but when it opens it does not expand automatically , But it stays in the beginning.
Here example: https://jsfiddle.net/b464Lgt1/