Images for menu

Jul 18, 2010 at 7:52 PM

Hi all.

I would like the have the following functionality for the menu:

each menu item has an "off" image, hover image and selected image (which can be the same as the "off" image). Is it possible to acheive with site map, if so how ?

Jul 20, 2010 at 7:38 AM

Can you give it a css class or something and achieve this by abusing jQuery?

Jul 20, 2010 at 12:35 PM
I can do it with jquery, I just thought that I could acheive it with the sitemap the way I do it with webforms sitemaps: by adding custom attributes to the sitemap node, and then reading these attributes. I'm pretty sure you can do it with MvcSiteMapProvider too (right?), but don't know how ...
Jul 20, 2010 at 12:56 PM

That can be done exactly the same, only make sure that these attributes are listed in the Web.config's "attributesToIgnore" attribute.