• Home
  • About
  • Resume

Resizing IE Modal Dialog in JavaScript

By , 12/03/2009 11:44 AM

If you open an IE Modal Dialog window and later on need to resize it using JavaScript code, standard “window.resizeTo” method doesn’t work. Use dialogWidth and dialogHeight instead. For example:

window.dialogWidth='640px';
window.dialogHeight='480px';

Panorama Theme by Themocracy