Re: clearMenuState
Posted: 22 Feb 2017, 16:55
Hi Aragorn...it's still me.
I've putted this code in the page wjere i like to clear menu:
When i enter in this page the menu is cleared but the cookie is valorized whith the current menu item selected, so if then i click on another menu item, it will highlight both of them...
Thanks
I've putted this code in the page wjere i like to clear menu:
Code: Select all
<script>
$( document ).ready(function() {
PF('sidebar-menu').clearMenuState();
PF('sidebar-menu').clearActiveItems();
});
</script>
Thanks