flexnav icon indicating copy to clipboard operation
flexnav copied to clipboard

Highlight Parent when hover on the submenu

Open sethstha opened this issue 10 years ago • 3 comments

As other menu shows the hightlight of it's parent or anccesstor when we go to submenu this feature will be great. and it would be easy to know on what menu we are right now.

thank you

sethstha avatar Mar 09 '14 15:03 sethstha

I was just coming here to share my fix for this. It's really easy. Just add the following to lines 48 and 55:

$(this).addClass("hovered");

Then add the following to lines 64 and 71:

$(this).removeClass("hovered");

Then you can obviously add the class to your CSS.

cpoteet avatar Mar 13 '14 15:03 cpoteet

This can be achieve purely in css (www.dewittehoeve.com)

Martijndegeus avatar Mar 31 '14 16:03 Martijndegeus

It's easy to achieve by adding ".flexnav li a:hover" in css:

.flexnav li a:hover { background-color: #7f7f7f; text-decoration: underline; }

irun4ik avatar Apr 28 '15 21:04 irun4ik