Mono Support HTML5 Navigation - Keep top level highlighted (Zatvorena)

15919 put(a) pogledan, 6 odgovor(a), 28.1.2013. 15:15:48 - Kreirao(la) rolorogan
28.1.2013. 15:15:48
28 Reputacija 2 Ukupno objava

Hi,

I am using the default HTML5 menu bar.

Some of our top level pages have sub pages under them. When I open a page the "selected" class is added dynamically to the menu item.

The issue is if I open a sub page the "selected" class is only added to this menu item. Does anyone know if we can set the top level menu as "selected" as well? This is so I can style the currently active menu area.

Any help much appreciated

1
29.1.2013. 13:18:56
629 Reputacija 83 Ukupno objava

Hi,

You would need to change markup in order to achieve this. This will require you to extend menu control, my college will make changes to the menu control to support this scenario, if you can use nightly MonoX build this should be included in next(tomorrow) nightly build. Otherwise you would need to make changes yourself we can give you pointers how to do this if you'll have problems with nightly build.

2
30.1.2013. 10:49:57
15993 Reputacija 2214 Ukupno objava

This has been fixed and will be available in the today's nightly build.

Regards

3
30.1.2013. 12:57:16
28 Reputacija 2 Ukupno objava

Thanks for the fast response on this. I will test this out

4
14.11.2013. 14:14:01
475 Reputacija 52 Ukupno objava

Hello, I am also using the HTML menu in the latest night built version of monox.
The problem is there is noo "selected" class for the active menu item

As you can see it only containes empty class markup:

<ul class="level0" style="display: block !important;">
    <li class=" " title="Community"><a href="/MonoX/Pages/SocialNetworking/Dashboard.aspx">Community</a></li>
    <li class=" " title="Groups"><a href="/MonoX/Pages/SocialNetworking/Groups.aspx">Groups</a></li>
    <li class=" " title="Blogs"><a href="/Blog.aspx">Blogs</a></li>
    <li class=" " title="Messages"><a href="/MonoX/Pages/SocialNetworking/InMail.aspx">Messages</a></li>
</ul>
The same happens in the MonoX site
http://monox.mono-software.com/MonoX/Pages/Features.aspx

Any syggestions?

Thank you,
Panos

5
14.11.2013. 23:16:19
15993 Reputacija 2214 Ukupno objava

Can you please open another topic for your issue so we can proceed.

Thanks

6
Ovo je MonoX demo site. Posjetite Mono Software za više detalja.