How to Activate the Drop Down Menu in MOSS 2010 Sites
2012-11-29 13:25
459 查看
MOSS 2010 sites can display drop down menus in the tabbed navigation across the top. Unfortunately there is not an easy check box to activate this functionality, instead things just have to be set up the right way. If you want your MOSS site to show drop
down menus, make sure the following is true or walk through the following steps:
From the root of the parent site (Home) choose to create a new site (Site 1). Once that site is created, youwill be in that new site.From here choose to create a new page.
Once that is created, choose to create another new site (Sub Site 1). Then create a new page in Sub Site 1.
Your site structure should resemble this, see structure.
For each site in the Navigation settings, bothShow Subsitesand Show Pages should be checked.
Select Site Actions - Site Settings - Modify Navigation.
Check Show subsites and Show pages in the first row. See sample.
The end result would be a tab in the horizontal bar for Site 1, with a vertical drop showing Sub Site 1.See sample.
The navigation shows sub sites under the parent and published pagesatthe parent. Pages for one site are stored flat in a single library. If you want the navigation to show 2nd level sub site pages or 3rd level sub sites under
the 2nd level, you need to make a very minor tweak to the master page that the site is using.
Using SharePoint Designer (SPD), open the master page being used by the site. Warning! Making edits to this file will customize the file, a.k.a. unghost it. Don't worry you can always undo this action.
In SPD, navigate to _catalogs/masterpage/*.master
How do you know which master the site is using? In the site, go to Site Actions-Site Settings -Modify All Settings, then chooseMaster pageunder the Look and Feel column. Check
which master page is selected in each drop down.
In the master page file, search for SharePoint:AspMenu.
You will more than likely have more than one instance of a menu control. Look at the IDs to find the right navigation control for what you want to edit. They are intelligently named, you will be able to sort out which one you need. For default.master,
look for ID="TopNavigationMenu".
In the properties for the tag, find MaximumDynamicDisplayLevels="1". Change the number from 1 to2.
Save the file and publish the master page (do this from SPD, Manage Content and Structure, or the Master Page Gallery).
Refresh your browser. Now when you mouse over Site 1 - Sub Site 1, you should see another level of navigation pop up. See
sample.
Cool, ehh? Please don't abuse this dynamic display level. As tempting as it is to provide instant access to something 5 levels deep in your site, drop down menus notoriously aggravate end users. I highly recommend using no more than 2 levels (what we set
in this walk through)
down menus, make sure the following is true or walk through the following steps:
From the root of the parent site (Home) choose to create a new site (Site 1). Once that site is created, youwill be in that new site.From here choose to create a new page.
Once that is created, choose to create another new site (Sub Site 1). Then create a new page in Sub Site 1.
Your site structure should resemble this, see structure.
For each site in the Navigation settings, bothShow Subsitesand Show Pages should be checked.
Select Site Actions - Site Settings - Modify Navigation.
Check Show subsites and Show pages in the first row. See sample.
The end result would be a tab in the horizontal bar for Site 1, with a vertical drop showing Sub Site 1.See sample.
The navigation shows sub sites under the parent and published pagesatthe parent. Pages for one site are stored flat in a single library. If you want the navigation to show 2nd level sub site pages or 3rd level sub sites under
the 2nd level, you need to make a very minor tweak to the master page that the site is using.
Using SharePoint Designer (SPD), open the master page being used by the site. Warning! Making edits to this file will customize the file, a.k.a. unghost it. Don't worry you can always undo this action.
In SPD, navigate to _catalogs/masterpage/*.master
How do you know which master the site is using? In the site, go to Site Actions-Site Settings -Modify All Settings, then chooseMaster pageunder the Look and Feel column. Check
which master page is selected in each drop down.
In the master page file, search for SharePoint:AspMenu.
You will more than likely have more than one instance of a menu control. Look at the IDs to find the right navigation control for what you want to edit. They are intelligently named, you will be able to sort out which one you need. For default.master,
look for ID="TopNavigationMenu".
In the properties for the tag, find MaximumDynamicDisplayLevels="1". Change the number from 1 to2.
Save the file and publish the master page (do this from SPD, Manage Content and Structure, or the Master Page Gallery).
Refresh your browser. Now when you mouse over Site 1 - Sub Site 1, you should see another level of navigation pop up. See
sample.
Cool, ehh? Please don't abuse this dynamic display level. As tempting as it is to provide instant access to something 5 levels deep in your site, drop down menus notoriously aggravate end users. I highly recommend using no more than 2 levels (what we set
in this walk through)
相关文章推荐
- How to Activate the Drop Down Menu in MOSS 2010 Sites
- [转]如何删除放置库(How to Delete the Drop Off Library)in SharePoint 2010
- [Selenium]How to click on a hidden link ,move to the drop down menu and click submenu
- How To Use The New Multivalue Field In Access 2007/2010 Sunday, June 19th, 2011
- Update the link url in the Moss 2010 to call SP.UI.ModalDialog.showModalDialog
- How to access Dropbox from the command line in Linux
- Adding Custom Actions to the List Item Menu in SharePoint 2010 Using SharePoint Designer 2010[Sharepoint中添加自定义菜单]
- How to change the Text color of Menu item in Android?
- How to resolve the truncate/drop/delete/join hang issue in ADW
- How to Change the Default Select Drop-Down List with CSS
- How To Set Dark Theme in Visual Studio 2010
- How to Access the DOM(Document Object Model) in MOSS 2007
- How to hide my site and my document link in the right-top corner of sharepoint 2010
- Spring Form Tags - How to use Text Box, Radio Button, Check Box and Drop Down List in Spring
- How to remove the ribbon tabs in list forms in SharePoint 2010
- ZZ: How to remove 'Open in Windows Explorer' from the 'Actions Menu'
- How to recover the root password in Centos 6 ?
- The study of how to define a function in Python(20170907)
- How to Pin a Cursor in the Shared Pool using DBMS_SHARED_POOL.KEEP (文档 ID 726780.1)
- how to install the chrome in the Ubuntu platform