web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Jason Lattimer's Blog / Force a Window to go Full S...

Force a Window to go Full Screen in CRM

jlattimer Profile Picture jlattimer 24,562
Well close to it anyway

For those people who have the their forms setup with four columns across, this piece of script will expand the record pop up to the full height and width of the screen. This isn't quite full screen, but pretty close.

function OnLoad() {
top.window.moveTo(0, 0);
if (document.all) {
top.window.resizeTo(screen.availWidth, screen.availHeight);
} else if (document.layers || document.getElementById) {
if (top.window.outerHeight < screen.availHeight ||
top.window.outerWidth < screen.availWidth) {
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}
Based on KB287171

This was originally posted here.

Comments

*This post is locked for comments