SharePoint 2007 Design Tip: Modifying the second level navigation arrow image

If you are working with the default navigation menus in SharePoint, you may come across the need to modify the sub menu arrow that appears to the right of the navigation text, see a screen shot: View image.

Usually the first thing you will do is a right-click -> Save Picture As…to grab the image name.  But with this one you will get “WebResource.gif”.  Upon further inspection, you will find an image name in the page source and a JavaScript reference to WebResource.axd.

WebResource.axd is a .NET 2.0 function that allows you to embed resources such as images into your .NET project.  Great.  Not much help here then.

In order to alter this image, you just need to utilize an existing property in AspMenu (the navigation code that runs the SharePoint menu).  This will require an edit to your master page, so if you are just using a theme, this approach will not work.

  1. Open your master page.  Preferrably a custom master page.  🙂
  2. Switch to Code View.
  3. Search for “TopNavigationMenu”.  This should take you to the global navigation (top nav) instance of AspMenu.
  4. Using Intellisense in the code view, or using the Properties pane, add the following property to the AspMenu tag:DynamicPopOutImageUrl=”insert image URL/path here”So your code should look like:
    blah blah…..

Here is a sample screenshot showing the address book icon in place of the arrow: View Image.

Thanks to Amit for posting this question to me!

2 thoughts on “SharePoint 2007 Design Tip: Modifying the second level navigation arrow image”

  1. I’ve wondered how to change that arrow. Especially frustrating when skinning and those arrows totally break the flow.

  2. Heather,Is there a way to see a list of the icons that SharePoint comes with? I have noticed that they seem to be listed here: _layouts/images/Is there a way to view the folder to see all the icons?Has someone documented all the icons that are their?Thanks,Peter

Comments are closed.