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

Viewed 15809 time(s), 6 post(s), 1/28/2013 3:15:48 PM - by rolorogan
1/28/2013 3:15:48 PM
28 Reputation 2 Total posts

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
1/29/2013 1:18:56 PM
629 Reputation 83 Total posts

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
1/30/2013 10:49:57 AM
15993 Reputation 2214 Total posts

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

Regards

3
1/30/2013 12:57:16 PM
28 Reputation 2 Total posts

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

4
11/14/2013 2:14:01 PM
475 Reputation 52 Total posts

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
11/14/2013 11:16:19 PM
15993 Reputation 2214 Total posts

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

Thanks

6
This is a demo site for MonoX. Please visit Mono Software for more info.