Menu and selected items

J

JJ

I have a menu that only displays the top (static) level. I want to display a
menu item as 'selected' not only when it is clicked on ,but when a user is
accessing any page that is below that main pages' heirachy in the sitemap
(which is the datasource for the menu).

i.e. I want to have the parent item in the menu selected when a child page
(based on the sitemap heirachy) is being accessed.

Do I parse the sitemap file (note that I am using security trimming if that
makes a difference) or is there an eaiser/more practical way?

Thanks,
JJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top