Resizing IE Modal Dialog in JavaScript

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:


5 replies on “Resizing IE Modal Dialog in JavaScript”

  1. @Joshua Chavez The code is pretty straightforward and shouldn’t cause any problems. Are you using Internet Explorer and JavaScript function showModalDialog? Can you post snippets of your code?

  2. Worked great! I must have searched 25 sites/blogs before i found this one, and this is the only fix that worked. Thanks Yuriy!

Leave a Reply

Your email address will not be published. Required fields are marked *