sharepont 2013 隐藏Ribbon 菜单

引用:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.Web.CommandUI.dll

后台代码:

SPRibbon ribbon = SPRibbon.GetCurrent(this.Page);
if (ribbon != null)
{
ribbon.Visible = false;

}

样式隐藏DIV高度

.ms-belltown-authenticated #s4-ribbonrow, .ms-belltown-authenticated .ms-belltown-anonShow{
display:none;
}

sharepont 2013 隐藏Ribbon 菜单

上一篇:巧用 chrome 浏览器的开发者工具解决sdk问题


下一篇:win7做wifi服务器