To hide the ribbon and to hide the empty space at the top and left side navigation.
window.top.document.getElementById("crmTopBar").style.display = "none"; //Hiding ribbon tool bar
window.top.document.getElementById("crmTopBar").style.display = "none"; //Hiding ribbon tool bar
document.getElementById("crmNavBar").parentElement.style.display = "none"; //hiding left side nav
document.getElementById("tdAreas").parentElement.parentElement.parentElement.parentElement.colSpan = 2;
document.getElementById("recordSetToolBar").parentElement.style.display = "none"; //Hiding tool bar
document.getElementById("crmFormFooter").parentElement.style.display = "none"; //Hiding footer
No comments:
Post a Comment