Menu control item styles

D

Darren Carter

I am trying to figure out how to create a static menu on a master page that
has the top level navigation in a horizontal layout, and the corresponding
second level of navigation on another horizontal line beneath it. When a top
level nav item is selected, a "selected" style is applied and its child nodes
are displayed on the second horizontal level. When a child node is clicked,
there is also a style applied to it, however, the style that was applied to
the top level menu item is still displayed. How can I accomplish this using
the menu controls in ASP.NET 2.0?

An example of what I mean would be similiar to www.amazon.com - their top
level currently has "amazon.com", "your store", and "see all 31 product
categories". If you select "your store", and then select a child item like
"friends & favorites", you'll notice the "your store" item still has its
selected style, as well as the child item, "friends & favorites".

If anyone could shed some light onto this I would really appreciate it.
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top