在 Microsoft Dynamics CRM 中更改 html 代码的位置
Where to change html code in Microsoft Dynamics CRM
Microsoft Dynamics CRM,当前具有此代码的自定义 iframe:
<div id="mainContainer" class="classname_here" style="max-width: 1900px">
我能够使用时尚的浏览器扩展将 1900px 更改为 100%:
.classname_here {
max-width: 100% !important;
}
我想在 Microsoft Dynamics CRM 中更改此设置,这可能吗?
或者 Microsoft Dynamics CRM 设置的 1900px 是一成不变的,无法更改?
谢谢!
我在 Microsoft Dynamics CRM 论坛上问了同样的问题,并从 "Necdet Saritas":
那里得到了一堆例子
https://www.inogic.com/blog/2009/02/automatically-resize-the-iframe-to-adjust-to-the-form-size/
https://dynamicsninja.blog/2018/07/21/change-webresource-height-dinamicaly/
为我标记为已解决:
在 onLoad 事件脚本中试试这个:
var container = parent.document.getElementById("mainContainer");
if (container !== null)
container.style = "max-width: 100%";
但这是不受支持的方式
Microsoft Dynamics CRM,当前具有此代码的自定义 iframe:
<div id="mainContainer" class="classname_here" style="max-width: 1900px">
我能够使用时尚的浏览器扩展将 1900px 更改为 100%:
.classname_here {
max-width: 100% !important;
}
我想在 Microsoft Dynamics CRM 中更改此设置,这可能吗?
或者 Microsoft Dynamics CRM 设置的 1900px 是一成不变的,无法更改?
谢谢!
我在 Microsoft Dynamics CRM 论坛上问了同样的问题,并从 "Necdet Saritas":
那里得到了一堆例子https://www.inogic.com/blog/2009/02/automatically-resize-the-iframe-to-adjust-to-the-form-size/
https://dynamicsninja.blog/2018/07/21/change-webresource-height-dinamicaly/
为我标记为已解决:
在 onLoad 事件脚本中试试这个:
var container = parent.document.getElementById("mainContainer");
if (container !== null)
container.style = "max-width: 100%";
但这是不受支持的方式