Hi,
We have a licensed Ultima theme which we use for various development. But recently we noticed that if we use Horizontal menu, that time selected menu is not highlighted. All menu types the selected menu is getting highlighted. Please give some insight on this.
Koushik
Selected menu is not highlighted - Horizontal menu style
Horizontal menu doesn't support stateful feature. For this issue, you need to make the following change in layout.js;
Code: Select all
init: function(cfg) {
...
if(!this.wrapper.hasClass('layout-menu-slim')) { /* remove !this.wrapper.hasClass('menu-layout-horizontal') && */
this.restoreMenuState();
}
...
},
Github Profile: https://github.com/mertsincan
You're welcome!
Github Profile: https://github.com/mertsincan
-
- Posts: 401
- Joined: 28 Dec 2011, 17:44
Hi,
can it be, that the workaround is not valid for Ultima version 1.1?
If i use this code change in layout.js, the behaviour of the horizontal menu is broken:
Wbr,
Daniel
can it be, that the workaround is not valid for Ultima version 1.1?
If i use this code change in layout.js, the behaviour of the horizontal menu is broken:
- Too much entries will get highlighted
- By clicking on a submenu, the whole submenu stays open
Wbr,
Daniel
Primefaces 6.1.8 (PF Extensions 6.1.5)
JSF: Mojarra 2.2 (Spec 2.2) - running on WildFly 10.1.0.Final
JSF: Mojarra 2.2 (Spec 2.2) - running on WildFly 10.1.0.Final
-
- Prime
- Posts: 18142
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes, not supported in 1.1, we're considering to add built-in support.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests