본문 바로가기
SharePoint Designer

sharepoint 2013 foundation submenu

by [김경민]™ ┌(  ̄∇ ̄)┘™ 2013. 12. 9.
728x90


[출처] http://support.bind.pt/entries/22853988-How-can-I-add-a-dropdown-menu-to-the-Sharepoint-Foundation-top-navigation-bar-



How can I add a dropdown menu to the Sharepoint Foundation top navigation bar?

By default SharePoint Foundation doesn’t support drop down menus on the top navigation bar, however our themes can be modified to support this feature.

To have this feature in your SharePoint foundation you will have to do the following:

1 – Create your top Navigation menu under Site Actions > Site Settings > Top Link Bar

To create a sub-menu of the last menu item, start the name of the sub menu with dash, dash, space (-- ) 

toplink.png 

2 – Open your site with SharePoint Designer

3 – Import the attached file spf-dropdown2010.js or spf-dropdown2013.js to All Files > SiteAssets

import_file.png

4 – Go to All Files > _catalogs and edit the file themeName.master

5 – Find the following line of code:

<script type="text/javascript" src="/_layouts/1033/JS/themePackage/BindMENU.js"></script>

Right above it paste the following line for SP2010:

<script type="text/javascript" src="/SiteAssets/spf-dropdown2010.js"></script>

or this one for SP2013:

<script type="text/javascript" src="/SiteAssets/spf-dropdown2013.js"></script>

6 – Save the changes, check in the file, and publish the major version of the master page.

7 – Go to your browser and refresh your Sharepoint site.

menu.png

 





728x90

댓글