Thursday, January 18, 2007

How to change the navigation depth of the top menu in MOSS2007

The default top navigation menu shows the mavigation structure in two levels, the first level are tabs and the second level is a dropdown menu.

It is possible to change the maximum depth of these menus. To change this default setting, do the following:
The setting can be changed by changing MaximumDynamicDisplayLevels iten in the SharePoint:AspMenu tag of the master page.

- Open the default.master page at [drive]:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL
- Search for "TopNavigationMenu" in the file.
- Change the property MaximumDynamicDisplayLevels to the value which you like.
- Save the file and you're done.

No comments: