`
BonnieTang
  • 浏览: 2498 次
  • 性别: Icon_minigender_2
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

Sharepoint 使用Page Viewer 隐藏Rebbin and Suitbar

阅读更多
使用Page Viewer将Page A的内容显示到Page B上, 并且隐藏Page A的Rebin Bar and Suitbar可以这样做:
WebPart -> Media and Content-> Page Viewer


1, 在Page A使用script editor:
<script src="jquery-3.2.1.min.js" type="text/javascript"></script>

<script type="text/javascript">
_spBodyOnLoadFunctions.push(function(){
    if(getParameterByName('hide')){
      var rib = document.getElementById('s4-ribbonrow');
      rib.style.display = 'none';
    }
});


function getParameterByName(name, url) {
    if (!url) {
      url = window.location.href;
    }
    name = name.replace(/[\[\]]/g, "\\$&");
    var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
        result = regex.exec(url);
    if (!result) return null;
    if (!result[2]) return '';
    return decodeURIComponent(result[2].replace(/\+/g, " "));
}
</script>

2, 在Page B上使用page viewer, 放入Page A link "DispForm.aspx?ID=1&IsDlg=1&hide=1"
分享到:
评论

相关推荐

    [SharePoint] SharePoint 2013 Branding and User Interface Design (英文版)

    From specific technologies such as master pages, page layouts, and CSS to offering best-practices and real-world experience for creating successful branding projects through SharePoint 2013, you will...

    sharepoint隐藏列表操作项

    总的来说,隐藏SharePoint列表操作项是通过使用`&lt;SharePoint:SPSecurityTrimmedControl&gt;`控件结合特定的权限字符串来实现的。这允许我们根据用户角色和权限动态地调整用户界面,从而提供更安全、定制化的用户体验。...

    Pro SharePoint Solution Development Combining NET SharePoint and Office 2007

    《Pro SharePoint Solution Development Combining .NET SharePoint and Office 2007》这本书专注于利用.NET框架与Microsoft SharePoint和Office 2007进行专业解决方案的开发。以下是对该主题的详细阐述: 1. **...

    显示隐藏sharepoint 指定栏

    控制sharepoint 2007/2010特定栏的显示或隐藏的工具。支持sp2007,sp2010.可以参考:http://database.51cto.com/art/201107/277625.htm

    Custom SharePoint Solutions with HTML and JavaScript

    Custom SharePoint Solutions with HTML and JavaScript shows you how to build and customize SharePoint solutions to suit a wide range of business needs. You don't need a background in Microsoft ...

    在 Microsoft 中管理 SharePoint Products and Technologies 的使用

    在Microsoft中管理SharePoint Products and Technologies的使用是一个关键任务,特别是在大规模的企业环境中。Microsoft IT部署了Windows SharePoint Services和Microsoft Office SharePoint Portal Server 2003,以...

    Integrating SharePoint with Excel Outlook Access and Word

    Apress - Office and SharePoint 2010 Users Guide - Integrating SharePoint with Excel Outlook Access and Word

    SharePoint Designer使用指南

    SharePoint Designer 使用指南 SharePoint Designer 是一款功能强大的网站设计和开发工具,能够帮助用户快速掌握 SharePoint 的常用功能,并与项目的实际操作方法相结合。本指南将指导用户如何使用 SharePoint ...

    SharePoint 2010 How-To

    * Author and edit each type of SharePoint page * Manage site security and control access to specific content * Create workflows, track them, and link them to lists or libraries * Create Meeting ...

    Wrox.Professional.SharePoint.2010.Branding.and.User.Interface.Design.Nov.2010.rar

    《Wrox Professional SharePoint 2010 Branding and User Interface Design》是一本专注于SharePoint 2010品牌设计与用户界面设计的专业书籍。这本书详细介绍了如何为SharePoint 2010平台创建吸引人且易用的界面,...

    Microsoft SharePoint 2010 and Windows PowerShell 2.0

    ### Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook #### Preface and Overview The book "Microsoft SharePoint 2010 and Windows PowerShell 2010: Expert Cookbook" is aimed at ...

    Pro SharePoint 2013 Branding and Responsive Web Development

    ### Pro SharePoint 2013 Branding and Responsive Web Development #### 关于本书 《Pro SharePoint 2013 Branding and Responsive Web Development》是一本专为希望利用SharePoint 2013的强大功能来构建品牌化、...

    Wrox.Professional.SharePoint.2010.Branding.and.User.Interface.Design

    《Wrox Professional SharePoint 2010 Branding and User Interface Design》是一本专注于SharePoint 2010平台的品牌塑造和用户体验设计的专业书籍。这本书详细探讨了如何利用SharePoint 2010的功能来创建独特且吸引...

    Sharepoint2010 微软官方教程合集

    Sharepoint2010 微软官方教程合集: Microsoft SharePoint Server 2010 部署指南.pdf Microsoft SharePoint Server 2010 服务器场和环境规划指南.pdf Microsoft SharePoint Server 2010 服务器和服务器场操作指南....

    SharePoint使用教程视频

    微软对于Windows Sharepoint使用介绍。

    SharePoint要在master page中动态显示List数据的几种方式

    在SharePoint环境中,Master Page是页面模板,负责定义全局布局和风格,而Content Page和Page Layout则基于Master Page构建,用于填充具体的内容。当需要在Master Page中动态展示List的数据时,有几种常见的实现方法...

    [SharePoint] Pro SharePoint 2013 Branding and Responsive Web Development (英文版)

    [Apress] Pro SharePoint 2013 Branding and Responsive Web Development (英文版) [Apress] Pro SharePoint 2013 Branding and Responsive Web Development (E-Book) ☆ 出版信息:☆ [作者信息] Eric Overfield...

    sharepoint

    首先,SharePoint 2007(也称为Windows SharePoint Services 3.0或WSS 3.0)是该产品系列中的一个重要里程碑,它为用户提供了一个易于使用的界面,用于创建和管理团队网站。这些网站可以作为共享文档存储库、日历...

    SharePoint 2010 Data Access Using Silverlight and Web Services Code Sample

    【标题】"使用Silverlight和Web服务访问SharePoint 2010数据的代码示例" 这个代码示例是关于如何在SharePoint 2010环境中利用Silverlight客户端应用程序和Web服务进行数据访问的教程。它展示了如何利用这两种技术的...

    javascript (sharepoint)

    7. **Page Layouts and Master Pages**:JavaScript还可以用来修改SharePoint的页面布局和母版页,从而改变整个站点的外观和行为。这包括自定义导航、添加自定义脚本、以及在页面加载时执行的初始化逻辑。 8. **...

Global site tag (gtag.js) - Google Analytics