[출처] 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 (-- )
2 – Open your site with SharePoint Designer
3 – Import the attached file spf-dropdown2010.js or spf-dropdown2013.js to All Files > SiteAssets
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.
'SharePoint Designer' 카테고리의 다른 글
Locale IDs Assigned by Microsoft - 다국어처리 코드 (0) | 2014.03.10 |
---|---|
sharepoint 에 foorer 넣기 (0) | 2014.02.11 |
Display Users with Presence in a SharePoint Hosted App (0) | 2014.02.03 |
로고 클릭 시 메인 페이지로 이동하기 (0) | 2013.12.24 |
Customizing Master Pages in Windows SharePoint Services (0) | 2013.12.06 |
댓글