简体   繁体   English

SharePoint 2013自定义导航

[英]SharePoint 2013 custom navigation

i am trying to customize sharepoint 2013 navigation. 我正在尝试自定义sharepoint 2013导航。 I am following this example: 我正在关注以下示例:

http://chrisstahl.wordpress.com/2013/12/31/customizing-sharepoint-2013-global-navigation-with-css-and-jquery-part-2/ http://chrisstahl.wordpress.com/2013/12/31/customizing-sharepoint-2013-global-navigation-with-css-and-jquery-part-2/

but the issue is where i would put the repeater control in my master page? 但问题是我将转发器控件放在母版页中的位置? sharepoint 2013 only allows editing .html files? sharepoint 2013仅允许编辑.html文件?

You should be able to edit both the HTML or .master page (though editing the .master is not recommended). 您应该能够同时编辑HTML或.master页(尽管不建议编辑.master)。 Are you able to use the design manager on the site to generate the necessary snippet that you can place in the .html? 您是否可以使用网站上的设计管理器来生成可放入.html的必要代码段? In the example you linked, it looks like he is using the top navigation. 在您链接的示例中,看起来他正在使用顶部导航。 You can do the same for the .html page by generating a snippet for the top navigation and pasting it to where ever you want in your .html master page. 您可以通过为顶部导航生成一个代码段并将其粘贴到.html母版中所需的位置,来对.html页面执行相同的操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM