无法识别SharePoint 2013母版页中的以下脚本是什么 [英] unable to identify what is the below script for in SharePoint 2013 master page

查看:78
本文介绍了无法识别SharePoint 2013母版页中的以下脚本是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

滚动浏览母版页,我发现了一段我无法识别的代码,它是针对的.有人可以帮我吗

<script type="text/javascript">//<![CDATA[
        var g_pageLoadAnimationParams = { elementSlideIn : "sideNavBox", elementSlideInPhase2 : "contentBox" };

    //]]>


推荐答案

代码g_pageLoadAnimationParams似乎是默认创建的.

The code g_pageLoadAnimationParams seems created by default.

我建议您提供进一步查找解决方案的要求.

I suggest you provider your requirement for further find solution for you.

例如,如果要隐藏左侧导航.我们可以将以下CSS添加到< head/>中.在母版页中进行标记即可实现.

Example, if you want to hide the left navigation. We can add the following CSS into <head/> tag in master page to achieve it.

<style>
#sideNavBox{
	display:none !important;
}
#contentBox{
	margin-left:0px !important;
}
</style>

最好的问候,

丹尼斯


这篇关于无法识别SharePoint 2013母版页中的以下脚本是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆